Mercurial > lada > lada-client
view app/model/Staat.js @ 361:8a3991b5c200
Only hide save buttons if there are no fields which should be ignore while
setting the field to readonly.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Thu, 15 Aug 2013 14:05:08 +0200 |
parents | e1364948eb01 |
children | debfcc7713e3 |
line wrap: on
line source
/** * Model class for Staat */ Ext.define('Lada.model.Staat', { extend: 'Lada.model.Base', fields: [ {name: "staatId", type: 'int'}, {name: "staat"}, {name: "staatIso"}, {name: "staatKurz"} ], idProperty: "staatId", proxy: { type: 'rest', appendId: true, //default url: 'server/rest/staat', api: { }, reader: { type: 'json', root: 'data' } } });