dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #09053
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2316: Fixed bug <687472> UserRole - Selected list of datasets and authorities doesn't auto selected whe...
------------------------------------------------------------
revno: 2316
committer: Hieu <hieu.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2010-12-09 10:19:23 +0700
message:
Fixed bug <687472> UserRole - Selected list of datasets and authorities doesn't auto selected when save
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-user/src/main/webapp/dhis-web-maintenance-user/addRoleForm.vm
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-user/src/main/webapp/dhis-web-maintenance-user/updateRoleForm.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/addRoleForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-user/src/main/webapp/dhis-web-maintenance-user/addRoleForm.vm 2010-09-25 20:13:04 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-user/src/main/webapp/dhis-web-maintenance-user/addRoleForm.vm 2010-12-09 03:19:23 +0000
@@ -1,7 +1,9 @@
<script>
jQuery(document).ready( function(){
jQuery("#name").focus();
- validation( 'addRoleForm', function( form ){
+ validation( 'addRoleForm', function( form ){
+ selectAllById( 'selectedList' );
+ selectAllById( 'selectedListAuthority' );
form.submit();
});
checkValueIsExist( "name", "validateRole.action");
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-user/src/main/webapp/dhis-web-maintenance-user/updateRoleForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-user/src/main/webapp/dhis-web-maintenance-user/updateRoleForm.vm 2010-09-23 09:32:16 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-user/src/main/webapp/dhis-web-maintenance-user/updateRoleForm.vm 2010-12-09 03:19:23 +0000
@@ -2,6 +2,8 @@
jQuery(document).ready( function(){
jQuery("#name").focus();
validation( 'updateRoleForm', function( form ){
+ selectAllById( 'selectedList' );
+ selectAllById( 'selectedListAuthority' );
form.submit();
});
checkValueIsExist( "name", "validateRole.action", {id:getFieldValue('id')});