[Lada-commits] [PATCH] Forgot to commit the controller for commit 684

Wald Commits scm-commit at wald.intevation.org
Wed Mar 25 15:20:51 CET 2015


# HG changeset patch
# User Dustin Demuth <dustin at intevation.de>
# Date 1427293245 -3600
# Node ID 14ac75f80ba10073ce34fa21b5bc98948160445b
# Parent  0391425689ed344cff840dc6b8afd90e5058e9e3
Forgot to commit the controller for commit 684

diff -r 0391425689ed -r 14ac75f80ba1 app/controller/form/Probe.js
--- a/app/controller/form/Probe.js	Wed Mar 25 15:18:46 2015 +0100
+++ b/app/controller/form/Probe.js	Wed Mar 25 15:20:45 2015 +0100
@@ -74,10 +74,12 @@
         if (dirty) {
             form.owner.down('button[action=save]').setDisabled(false);
             form.owner.down('button[action=discard]').setDisabled(false);
+            form.owner.up('window').disableChildren();
         }
         else {
             form.owner.down('button[action=save]').setDisabled(true);
             form.owner.down('button[action=discard]').setDisabled(true);
+            form.owner.up('window').enableChildren(); // todo this might not be true in all cases
         }
     }
 });


More information about the Lada-commits mailing list