changeset 568:34b2654af158

More specific 'are your sure?' question on delete
author Dustin Demuth <dustin@intevation.de>
date Tue, 10 Mar 2015 11:57:12 +0100
parents fa52f383daf8
children d9593b520b3b
files app/controller/ProbenzusatzwertGrid.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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() {

http://lada.wald.intevation.org