------------------------------------------------------------
revno: 20519
committer: Abyot Asalefew Gizaw <[email protected]>
branch nick: dhis2
timestamp: Tue 2015-10-06 14:19:46 +0200
message:
tracker-capture: minor
modified:
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/scripts/controllers.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/scripts/controllers.js'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/scripts/controllers.js 2015-10-01 13:52:52 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/scripts/controllers.js 2015-10-06 12:19:46 +0000
@@ -339,8 +339,13 @@
$rootScope.$broadcast('registrationWidget', {registrationMode: 'REGISTRATION'});
}, 200);
}
- else{
- $scope.doSearch = true;
+ else{
+ $scope.doSearch = true;
+ if(!$scope.trackedEntityList){
+ if($scope.doSearch){
+ $scope.search($scope.searchMode);
+ }
+ }
$scope.showTrackedEntityDiv = true;
}
};
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp