← Back to team overview

dhis2-devs team mailing list archive

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

 

------------------------------------------------------------
revno: 20818
committer: Abyot Asalefew Gizaw <abyota@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2015-10-21 10:56:32 +0200
message:
  minor
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	2015-10-05 08:58:13 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dashboard/dashboard-controller.js	2015-10-21 08:56:32 +0000
@@ -5,6 +5,7 @@
         function($rootScope,
                 $scope,
                 $location,
+                $route,
                 $modal,
                 $timeout,
                 $filter,
@@ -361,7 +362,8 @@
         });
     };
     $scope.back = function(){
-        $location.path('/').search({program: $scope.selectedProgramId});                   
+        $location.path('/').search({program: $scope.selectedProgramId});
+        $route.reload();
     };
     
     $scope.displayEnrollment = false;