← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 810: minor fix for making all operational buttons enable while clicking on unassigned orgnisation unit

 

------------------------------------------------------------
revno: 810
committer: brajesh2murari@xxxxxxxxx
branch nick: trunk
timestamp: Thu 2009-10-01 13:35:41 +0530
message:
  minor fix for making all operational buttons enable while clicking on unassigned orgnisation unit
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/javascript/locking.js
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/javascript/oust.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-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/javascript/locking.js'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/javascript/locking.js	2009-10-01 07:52:12 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/javascript/locking.js	2009-10-01 08:05:41 +0000
@@ -100,17 +100,17 @@
   enableParent( "periodId" );
   enableParent( "unlockedDataSets" );
   enableParent( "lockedDataSets" );
-	enableParent( "button1" );
-	enableParent( "button2" );
-	enableParent( "button3" );
+  enableParent( "button1" );
+  enableParent( "button2" );
+  enableParent( "button3" );
   enableParent( "button4" );
   enableParent( "button5" );
-	enableParent( "button6" );
-	enableParent( "button7" );
-	enableParent( "button8" );
-	enableParent( "button9" );	 
-	enableParent( "levelList" );
-	enableParent( "submitButton" );
+  enableParent( "button6" );
+  enableParent( "button7" );
+  enableParent( "button8" );
+  enableParent( "button9" );	 
+  enableParent( "levelList" );
+  enableParent( "submitButton" );
 }
 		
 function desableLockComponents(){

=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/javascript/oust.js'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/javascript/oust.js	2009-09-28 22:49:28 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/javascript/oust.js	2009-10-01 08:05:41 +0000
@@ -69,7 +69,7 @@
         else{    
         	request.send( 'noactionfordatalocking.action?' );   
             linkTags[0].className = '';  
-            desableLockComponents();       
+            enableLockComponents();       
         }
     };