Showing
2 changed files
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 | ... | ... |
400-SOURCECODE/AIAHTML5.Web/content/data/json/le/qz_dat_ca.json
... | ... | @@ -10,8 +10,8 @@ |
10 | 10 | "Title": "Drag the labels to the correct location on the image.", |
11 | 11 | "activityTitle": "Heart & Great Vessels I", |
12 | 12 | "ImagePath":"CS-01.JPG", |
13 | - "OptionBox": [{"BoxName": "T1","topcoord":"121","leftcoord":"23","Answervalue":"","QuizText":""},{"BoxName": "T3","topcoord":"112","leftcoord":"960","Answervalue":"","QuizText":""}, | |
14 | - {"BoxName": "T4","topcoord":"194","leftcoord":"23","Answervalue":"","QuizText":""},{"BoxName": "T5","topcoord":"168","leftcoord":"960","Answervalue":"","QuizText":""}, | |
13 | + "OptionBox": [{"BoxName": "T1","topcoord":"121","leftcoord":"23","Answervalue":"","QuizText":""},{"BoxName": "T4","topcoord":"112","leftcoord":"960","Answervalue":"","QuizText":""}, | |
14 | + {"BoxName": "T2","topcoord":"194","leftcoord":"23","Answervalue":"","QuizText":""},{"BoxName": "T5","topcoord":"168","leftcoord":"960","Answervalue":"","QuizText":""}, | |
15 | 15 | {"BoxName": "T3","topcoord":"252","leftcoord":"23","Answervalue":"","QuizText":""},{"BoxName": "T6","topcoord":"210","leftcoord":"960","Answervalue":"","QuizText":""}, |
16 | 16 | {"BoxName": "T7","topcoord":"250","leftcoord":"960","Answervalue":"","QuizText":""},{"BoxName": "T8","topcoord":"292","leftcoord":"960","Answervalue":"","QuizText":""}], |
17 | 17 | "Options": [{"OptionNumber": "A","OptionTitle": "Right brachiocephalic vein","textalign":"bottom"},{"OptionNumber": "B","OptionTitle": "Brachiocephalic artery","textalign":"bottom"}, | ... | ... |