← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 809: now at the time of periodtype selection, user can see available unlocked data sets

 

------------------------------------------------------------
revno: 809
committer: brajesh2murari@xxxxxxxxx
branch nick: trunk
timestamp: Thu 2009-10-01 13:22:12 +0530
message:
  now at the time of periodtype selection, user can see available unlocked data sets
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/javascript/locking.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-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/locking.js	2009-10-01 07:52:12 +0000
@@ -14,6 +14,7 @@
                     $('#periodId').append("<option value="+$(this).find('id').text()+">" +$(this).find('name').text()+ "</option>");
                 });
                 enable( "periodId" );
+                getDataSets();
             }
         });
     }
@@ -71,11 +72,15 @@
 }
 
 function loadEmptyOrgUnitTree(){  
-	 desableLockComponents(); 
-	 enableParent( "periodTypeId" );
-   enableParent( "periodId" );
-	 enableParent( "unlockedDataSets" );
-   enableParent( "lockedDataSets" );             
+	desableLockComponents(); 
+	enableParent( "periodTypeId" );
+    enableParent( "periodId" );
+	enableParent( "unlockedDataSets" );
+    enableParent( "lockedDataSets" ); 
+    enableParent( "button1" );
+	enableParent( "button2" );
+	enableParent( "button3" );
+  	enableParent( "button4" );            
    iframeForOUTree.location.href='emptyOrgunitSetupAssociationsTree.action';		 
 }