=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-capture/index.html' --- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-capture/index.html 2014-11-12 16:49:17 +0000 +++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-capture/index.html 2014-11-26 13:37:32 +0000 @@ -6,13 +6,7 @@ - - - - - + === modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-capture/scripts/controllers.js' --- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-capture/scripts/controllers.js 2014-11-20 11:36:44 +0000 +++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-capture/scripts/controllers.js 2014-11-26 13:37:32 +0000 @@ -413,10 +413,6 @@ return false; } - if(addingAnotherEvent){ - $scope.disableSaveAndAddNew = true; - } - //the form is valid, get the values //but there could be a case where all dataelements are non-mandatory and //the event form comes empty, in this case enforce at least one value @@ -449,6 +445,10 @@ return false; } + if(addingAnotherEvent){ + $scope.disableSaveAndAddNew = true; + } + var newEvent = angular.copy($scope.currentEvent); //prepare the event to be created @@ -726,4 +726,4 @@ }, function () { }); }; -}); \ No newline at end of file +}); === modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-capture/views/home.html' --- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-capture/views/home.html 2014-11-12 16:49:17 +0000 +++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-capture/views/home.html 2014-11-26 13:37:32 +0000 @@ -1,6 +1,3 @@ - -