changeset 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 8ebe4cfca4b8
children 34b2654af158
files app/controller/OrtGrid.js
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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