[Lada-commits] [PATCH 2 of 4] Added Todos. More specific 'are your sure?' question on delete

Wald Commits scm-commit at wald.intevation.org
Tue Mar 10 11:41:00 CET 2015


# HG changeset patch
# User Dustin Demuth <dustin at intevation.de>
# Date 1425984985 -3600
# Node ID fa52f383daf8add022f1bc8d256424dd5ddb7979
# Parent  8ebe4cfca4b83c23bbae8a611e333e5356f7ab6c
Added Todos. More specific 'are your sure?' question on delete

diff -r 8ebe4cfca4b8 -r fa52f383daf8 app/controller/OrtGrid.js
--- 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() {


More information about the Lada-commits mailing list