dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #05017
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1678: Add method for selecting the role items before calling validation.
------------------------------------------------------------
revno: 1678
committer: Viet <Viet@Viet-Nguyen>
branch nick: trunk
timestamp: Fri 2010-03-19 21:50:33 +0530
message:
Add method for selecting the role items before calling validation.
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-user/src/main/webapp/dhis-web-maintenance-user/updateUserForm.vm
--
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-maintenance/dhis-web-maintenance-user/src/main/webapp/dhis-web-maintenance-user/updateUserForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-user/src/main/webapp/dhis-web-maintenance-user/updateUserForm.vm 2010-03-17 14:06:28 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-user/src/main/webapp/dhis-web-maintenance-user/updateUserForm.vm 2010-03-19 16:20:33 +0000
@@ -11,6 +11,10 @@
jQuery("#updateUserForm").validate({
meta:"validate"
,errorElement:"td"
+ ,beforeValidateHandler : function()
+ {
+ selectAllById('selectedList');
+ }
,submitHandler: function(form)
{
validateUpdateUser();