Mercurial > lada > lada-client
comparison app/store/Proben.js @ 18:9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
which is currently just a dummy file to make to request work. But currently no
data is actually saved. The urls need to be replaced with the correct urls in
the application backend.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Mon, 06 May 2013 16:41:39 +0200 |
parents | c0b2faa47ee5 |
children | 764a0aef0f56 |
comparison
equal
deleted
inserted
replaced
17:3eaeeec2bb28 | 18:9e1a40312bbe |
---|---|
3 fields: ['probeId', 'datenbasisId'], | 3 fields: ['probeId', 'datenbasisId'], |
4 model: 'Lada.model.Probe', | 4 model: 'Lada.model.Probe', |
5 autoLoad: true, | 5 autoLoad: true, |
6 proxy: { | 6 proxy: { |
7 type: 'ajax', | 7 type: 'ajax', |
8 url: 'data/proben.json', | 8 api: { |
9 read: 'data/proben.json', | |
10 update: 'data/proben2.json' | |
11 }, | |
9 reader: { | 12 reader: { |
10 type: 'json', | 13 type: 'json', |
11 root: 'proben' | 14 root: 'proben' |
12 } | 15 } |
13 } | 16 } |