------------------------------------------------------------
revno: 20808
committer: Abyot Asalefew Gizaw <[email protected]>
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){
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp