dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #25417
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12609: Validation rule group. Fixed issue with save and update. Caused by missing directive for selectin...
------------------------------------------------------------
revno: 12609
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Sun 2013-10-13 20:23:51 +0200
message:
Validation rule group. Fixed issue with save and update. Caused by missing directive for selecting items under selected list in javascript.
modified:
dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/javascript/addValidationRuleGroupForm.js
dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/javascript/updateValidationRuleGroupForm.js
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/javascript/addValidationRuleGroupForm.js'
--- dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/javascript/addValidationRuleGroupForm.js 2011-08-19 21:33:57 +0000
+++ dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/javascript/addValidationRuleGroupForm.js 2013-10-13 18:23:51 +0000
@@ -9,6 +9,7 @@
'beforeValidateHandler' : function()
{
selectAllById( 'groupMembers' );
+ selectAllById( 'userRolesToAlert' );
},
'rules' : getValidationRules( "validationRuleGroup" )
} );
=== modified file 'dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/javascript/updateValidationRuleGroupForm.js'
--- dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/javascript/updateValidationRuleGroupForm.js 2011-08-19 21:33:57 +0000
+++ dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/javascript/updateValidationRuleGroupForm.js 2013-10-13 18:23:51 +0000
@@ -9,6 +9,7 @@
'beforeValidateHandler' : function()
{
selectAllById( 'groupMembers' );
+ selectAllById( 'userRolesToAlert' );
},
'rules' : getValidationRules( "validationRuleGroup" )
} );