Mercurial > lada > lada-client
view app/model/Deskriptor.js @ 962:9b6800458a9e
Altered permissions to open a Messung from the Messung-grid. Opening a Messung is only possible, when: a) StatusEdit=True or b) StatusWert > 0
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Thu, 12 Nov 2015 09:50:48 +0100 |
parents | 274a843caf44 |
children | f73ca04d73a7 |
line wrap: on
line source
/** * */ Ext.define('Lada.model.Deskriptor', { extend: 'Ext.data.Model', /** * Fields are: * - ... */ fields: [{ name: 'bedeutung' }, { name: 'beschreibung' }, { name: 'ebene' }, { name: 'id' }, { name: 'sn' }, { name: 'sXx' }], idProperty: 'id', proxy: { type: 'rest', url: 'lada-server/deskriptor', reader: { type: 'json', root: 'data', totalProperty: 'totalCount' } } });