=== 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-08-26 10:26:31 +0000 +++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dashboard/dashboard-controller.js 2015-09-03 15:45:33 +0000 @@ -14,7 +14,7 @@ SessionStorageService, TEIService, TEService, - OptionSetService, + MetaDataFactory, EnrollmentService, ProgramFactory, DHIS2EventFactory, @@ -169,8 +169,8 @@ if($scope.selectedTeiId){ //get option sets - $scope.optionSets = []; - OptionSetService.getAll().then(function(optionSets){ + $scope.optionSets = []; + MetaDataFactory.getAll('optionSets').then(function(optionSets){ angular.forEach(optionSets, function(optionSet){ $scope.optionSets[optionSet.id] = optionSet; }); === modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/registration/default-registration-form.html' --- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/registration/default-registration-form.html 2015-08-27 19:05:47 +0000 +++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/registration/default-registration-form.html 2015-09-03 15:45:33 +0000 @@ -21,7 +21,7 @@ - + - + - + - + - + + + /> +