Mercurial > lada > lada-client
diff app/controller/form/Probe.js @ 686:14ac75f80ba1
Forgot to commit the controller for commit 684
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Wed, 25 Mar 2015 15:20:45 +0100 |
parents | a24db43b13b5 |
children | 817524db4017 |
line wrap: on
line diff
--- 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 } } });