← Back to team overview

dhis2-devs team mailing list archive

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

 

------------------------------------------------------------
revno: 17882
committer: Abyot Asalefew Gizaw <abyota@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2015-01-05 11:34:24 +0100
message:
  minor
modified:
  dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/enrollment/enrollment-controller.js
  dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/profile/profile-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/enrollment/enrollment-controller.js'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/enrollment/enrollment-controller.js	2015-01-05 10:20:46 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/enrollment/enrollment-controller.js	2015-01-05 10:34:24 +0000
@@ -78,10 +78,11 @@
                 $scope.loadEnrollmentDetails(selectedEnrollment);
             }
             else{
-                $scope.selectedEnrollment = null;
-                $scope.broadCastSelections('dashboardWidgets');
+                $scope.selectedEnrollment = null;                
             }
         }
+        
+        $scope.broadCastSelections('dashboardWidgets');
     });
     
     $scope.loadEnrollmentDetails = function(enrollment) {        

=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/profile/profile-controller.js'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/profile/profile-controller.js	2015-01-05 10:20:46 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/profile/profile-controller.js	2015-01-05 10:34:24 +0000
@@ -51,10 +51,7 @@
         //form is valid, continue the update process        
         //get tei attributes and their values
         //but there could be a case where attributes are non-mandatory and
-        //form comes empty, in this case enforce at least one value
-        
-        console.log('the tei:  ', $scope.selectedTei);
-        
+        //form comes empty, in this case enforce at least one value        
         $scope.formEmpty = true;
         var tei = angular.copy($scope.selectedTei);
         tei.attributes = [];