diff app/controller/OrtGrid.js @ 567:fa52f383daf8

Added Todos. More specific 'are your sure?' question on delete
author Dustin Demuth <dustin@intevation.de>
date Tue, 10 Mar 2015 11:56:25 +0100
parents d5ad2f43658a
children
line wrap: on
line diff
--- a/app/controller/OrtGrid.js	Tue Mar 10 11:54:02 2015 +0100
+++ b/app/controller/OrtGrid.js	Tue Mar 10 11:56:25 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