Commit 3ec79f83e9b24aafe97afe91949a87cac7f97132
1 parent
09b72f94
Bug#28579 is fixed
Showing
1 changed file
with
15 additions
and
0 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/LabExercController.js
... | ... | @@ -1051,7 +1051,22 @@ function ($scope, $rootScope, pages, log, $http,$timeout, DataService, $filter, |
1051 | 1051 | $rootScope.isLoading = false; |
1052 | 1052 | $('#spinner').css('visibility', 'hidden'); |
1053 | 1053 | |
1054 | + if (lastQuestion == $scope.TotalNumberofQuiz) { | |
1055 | + if ($scope.isReviewBtnSelected == true) { | |
1056 | + $("#quizSubmitBtn").css("display", "none"); | |
1057 | + } | |
1058 | + else { | |
1059 | + $("#quizSubmitBtn").css("display", "block"); | |
1060 | + } | |
1061 | + | |
1054 | 1062 | } |
1063 | + else { | |
1064 | + $("#quizSubmitBtn").css("display", "none"); | |
1065 | + } | |
1066 | + | |
1067 | + } | |
1068 | + | |
1069 | + | |
1055 | 1070 | |
1056 | 1071 | }] |
1057 | 1072 | ... | ... |