[Lada-commits] [PATCH 3 of 4] More specific 'are your sure?' question on delete

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


# HG changeset patch
# User Dustin Demuth <dustin at intevation.de>
# Date 1425985032 -3600
# Node ID 34b2654af1587877b89a12d32eb9b4aa054a3989
# Parent  fa52f383daf8add022f1bc8d256424dd5ddb7979
More specific 'are your sure?' question on delete

diff -r fa52f383daf8 -r 34b2654af158 app/controller/ProbenzusatzwertGrid.js
--- a/app/controller/ProbenzusatzwertGrid.js	Tue Mar 10 11:56:25 2015 +0100
+++ b/app/controller/ProbenzusatzwertGrid.js	Tue Mar 10 11:57:12 2015 +0100
@@ -42,7 +42,7 @@
     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('Zusatzwert löschen', 'Sind Sie sicher?', function(btn) {
             if (btn === 'yes') {
                 selection.destroy({
                     success: function() {


More information about the Lada-commits mailing list