← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21734: Fixed ou loading in program dashboard

 

------------------------------------------------------------
revno: 21734
committer: Markus Bekken <markus.bekken@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2016-01-14 16:56:52 +0100
message:
  Fixed ou loading in program dashboard
modified:
  dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dashboard/dashboard-controller.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-apps/src/main/webapp/dhis-web-tracker-capture/components/dashboard/dashboard-controller.js'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dashboard/dashboard-controller.js	2016-01-07 17:56:29 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dashboard/dashboard-controller.js	2016-01-14 15:56:52 +0000
@@ -379,6 +379,10 @@
         $location.path('/').search({program: $scope.selectedProgramId});        
     };
     
+    $scope.$on('$locationChangeSuccess',function(){
+        selection.load();
+    });
+    
     $scope.displayEnrollment = false;
     $scope.showEnrollment = function(){
         $scope.displayEnrollment = true;