Mercurial > lada > lada-client
diff app/model/DatensatzErzeuger.js @ 1003:15d8c64049d1 stammdatengrids
Datensatzerzeuger now uses the server. Added i18n to confirmation messages
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Fri, 15 Jan 2016 14:42:29 +0100 |
parents | f73ca04d73a7 |
children | 1df6b6210b42 1251094e7500 |
line wrap: on
line diff
--- a/app/model/DatensatzErzeuger.js Wed Jan 13 14:50:28 2016 +0100 +++ b/app/model/DatensatzErzeuger.js Fri Jan 15 14:42:29 2016 +0100 @@ -31,6 +31,7 @@ } return new Date(v); } +/* }, { name: 'treeModified', serialize: function(value) { @@ -47,13 +48,14 @@ } return value; } +*/ }], idProperty: 'id', proxy: { - type: 'memory', - //url: 'lada-server/rest/datensatzerzeuger', + type: 'rest', + url: 'lada-server/rest/datensatzerzeuger', reader: { type: 'json', root: 'data'