comparison app/controller/grid/MKommentar.js @ 943:0a233865a9c3

PKommentar an MKommentar grid modified
author Michael Stanko <mstanko@bfs.de>
date Wed, 14 Oct 2015 11:40:25 +0200
parents 2362f8ab1e9f
children 1f1467713c3f
comparison
equal deleted inserted replaced
942:f2001df0e494 943:0a233865a9c3
38 * the record. 38 * the record.
39 * On success it refreshes the windows which contains the grid 39 * On success it refreshes the windows which contains the grid
40 * On failure it displays a message 40 * On failure it displays a message
41 */ 41 */
42 gridSave: function(editor, context) { 42 gridSave: function(editor, context) {
43 context.record.save({ 43 context.record.set('datum', new Date());
44 context.record.save({
44 success: function(record, response) { 45 success: function(record, response) {
45 context.grid.initData(); 46 context.grid.initData();
46 context.grid.up('window').initData(); 47 context.grid.up('window').initData();
47 }, 48 },
48 failure: function(record, response) { 49 failure: function(record, response) {

http://lada.wald.intevation.org