Mercurial > lada > lada-client
comparison app/controller/ProbenzusatzwertGrid.js @ 574:8d2cf853eed2
merged.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 10 Mar 2015 14:33:03 +0100 |
parents | 1dedce48e3e1 34b2654af158 |
children |
comparison
equal
deleted
inserted
replaced
573:6a1af698510e | 574:8d2cf853eed2 |
---|---|
44 }, | 44 }, |
45 | 45 |
46 remove: function(button) { | 46 remove: function(button) { |
47 var grid = button.up('grid'); | 47 var grid = button.up('grid'); |
48 var selection = grid.getView().getSelectionModel().getSelection()[0]; | 48 var selection = grid.getView().getSelectionModel().getSelection()[0]; |
49 Ext.MessageBox.confirm('Löschen', 'Sind Sie sicher?', function(btn) { | 49 Ext.MessageBox.confirm('Zusatzwert löschen', 'Sind Sie sicher?', function(btn) { |
50 if (btn === 'yes') { | 50 if (btn === 'yes') { |
51 selection.destroy({ | 51 selection.destroy({ |
52 success: function() { | 52 success: function() { |
53 button.up('window').initData(); | 53 button.up('window').initData(); |
54 grid.initData(); | 54 grid.initData(); |