← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 20808: minor

 

------------------------------------------------------------
revno: 20808
committer: Abyot Asalefew Gizaw <abyota@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2015-10-20 16:01:57 +0200
message:
  minor
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.angular.directives.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-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.angular.directives.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.angular.directives.js	2015-10-20 13:16:15 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.angular.directives.js	2015-10-20 14:01:57 +0000
@@ -53,8 +53,8 @@
             //once ou tree is loaded, start meta-data download
             $(function () {
                 dhis2.ou.store.open().done(function () {
-                    selection.load();                    
-                    if(dhis2.tc && dhis2.tc.metaDataCached){                        
+                    if(dhis2.tc && dhis2.tc.metaDataCached){
+                    	selection.load();
                         var ouId = SessionStorageService.get('ouSelected');
                         OrgUnitService.get(ouId).then(function(ou){
                             if(ou && ou.id && ou.name){