diff app/controller/OrtGrid.js @ 574:8d2cf853eed2

merged.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 10 Mar 2015 14:33:03 +0100
parents fa52f383daf8
children
line wrap: on
line diff
--- a/app/controller/OrtGrid.js	Tue Mar 10 14:31:32 2015 +0100
+++ b/app/controller/OrtGrid.js	Tue Mar 10 14:33:03 2015 +0100
@@ -46,17 +46,19 @@
     },
 
     open: function() {
+        // todo
         console.log('open');
     },
 
     add: function() {
+        // todo
         console.log('add');
     },
 
     remove: function(button) {
         var grid = button.up('grid');
         var selection = grid.getView().getSelectionModel().getSelection()[0];
-        Ext.MessageBox.confirm('Löschen', 'Sind Sie sicher?', function(btn) {
+        Ext.MessageBox.confirm('Ortsangabe löschen', 'Sind Sie sicher?', function(btn) {
             if (btn === 'yes') {
                 selection.destroy({
                     success: function() {

http://lada.wald.intevation.org