Mercurial > lada > lada-client
comparison app/controller/grid/PKommentar.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 | f4eb53ba63fc |
comparison
equal
deleted
inserted
replaced
942:f2001df0e494 | 943:0a233865a9c3 |
---|---|
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('datum', new Date()); | |
41 context.record.save({ | 42 context.record.save({ |
42 success: function() { | 43 success: function() { |
43 context.grid.store.reload(); | 44 context.grid.store.reload(); |
44 context.grid.up('window').initData(); | 45 context.grid.up('window').initData(); |
45 }, | 46 }, |