Mercurial > lada > lada-client
comparison app/model/ProbeList.js @ 856:e44070aa45d2
Implemented a 'Delete Button' in the ResultGrid. Proben can be deleted when they are not ReadOnly and the Users is the Owner of the Probe
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Fri, 10 Jul 2015 17:14:19 +0200 |
parents | 2927abe98b66 |
children | f73ca04d73a7 |
comparison
equal
deleted
inserted
replaced
855:dff2798390f8 | 856:e44070aa45d2 |
---|---|
13 Ext.define('Lada.model.ProbeList', { | 13 Ext.define('Lada.model.ProbeList', { |
14 extend: 'Ext.data.Model', | 14 extend: 'Ext.data.Model', |
15 | 15 |
16 fields: [{ | 16 fields: [{ |
17 name: 'readonly' | 17 name: 'readonly' |
18 }, { | |
19 name: 'owner' | |
18 }], | 20 }], |
19 | 21 |
20 idProperty: 'id', | 22 idProperty: 'id', |
21 | 23 |
22 proxy: { | 24 proxy: { |