comparison app/controller/grid/Status.js @ 944:1f1467713c3f

Status grid modified
author Michael Stanko <mstanko@bfs.de>
date Fri, 16 Oct 2015 08:15:36 +0200
parents 2362f8ab1e9f
children 023e622f9551
comparison
equal deleted inserted replaced
943:0a233865a9c3 944:1f1467713c3f
36 * the record. 36 * the record.
37 * On success it refreshes the windows which contains the grid 37 * On success it refreshes the windows which contains the grid
38 * On failure it displays a message 38 * On failure it displays a message
39 */ 39 */
40 gridSave: function(editor, context) { 40 gridSave: function(editor, context) {
41 context.record.set('sdatum', new Date());
41 context.record.save({ 42 context.record.save({
42 success: function() { 43 success: function() {
43 context.grid.initData(); 44 context.grid.initData();
44 context.grid.up('window').initData(); 45 context.grid.up('window').initData();
45 }, 46 },

http://lada.wald.intevation.org