Mercurial > lada > lada-client
view app/model/Kommentar.js @ 58:26863a7af202
Added action attributes to the buttons in the toolbar of the kommentar list
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 29 May 2013 15:22:38 +0200 |
parents | 982f3130e7f3 |
children | 2d6c4f4c9b11 |
line wrap: on
line source
Ext.define('Lada.model.Kommentar', { extend: 'Ext.data.Model', fields: [ {name: "id"}, {name: "kid"}, {name: "probeId"}, {name: "erzeuger"}, {name: "kdatum"}, {name: "ktext"} ], idProperty: "id", proxy: { type: 'rest', appendId: true, //default url: 'server/rest/kommentare', reader: { type: 'json' } } });