Mercurial > lada > lada-client
comparison app/controller/grid/MKommentar.js @ 944:1f1467713c3f
Status grid modified
author | Michael Stanko <mstanko@bfs.de> |
---|---|
date | Fri, 16 Oct 2015 08:15:36 +0200 |
parents | 0a233865a9c3 |
children | f4eb53ba63fc |
comparison
equal
deleted
inserted
replaced
943:0a233865a9c3 | 944:1f1467713c3f |
---|---|
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.set('datum', new Date()); | 43 context.record.set('datum', new Date()); |
44 context.record.save({ | 44 context.record.save({ |
45 success: function(record, response) { | 45 success: function(record, response) { |
46 context.grid.initData(); | 46 context.grid.initData(); |
47 context.grid.up('window').initData(); | 47 context.grid.up('window').initData(); |
48 }, | 48 }, |
49 failure: function(record, response) { | 49 failure: function(record, response) { |