Commit 15aaa43e0b8f055d88fd8be38ce260acfecf3b1b

Authored by unknown
1 parent b0665952

Commit Changes

400-SOURCECODE/AIAHTML5.Web/app/controllers/LabExercController.js
@@ -156,7 +156,7 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location @@ -156,7 +156,7 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location
156 } 156 }
157 157
158 $scope.isReviewBtnSelected = false; 158 $scope.isReviewBtnSelected = false;
159 - $rootScope.selectedDivArray = []; 159 + // $rootScope.selectedDivArray = [];
160 $scope.nextQuiz = function () { 160 $scope.nextQuiz = function () {
161 161
162 //need to save all questions till the current question number when user clicks on save 162 //need to save all questions till the current question number when user clicks on save
@@ -173,7 +173,7 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location @@ -173,7 +173,7 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location
173 $scope.CreateLabExerciseDataToSave(); 173 $scope.CreateLabExerciseDataToSave();
174 } 174 }
175 175
176 - console.log($rootScope.selectedDivArray); 176 + // console.log($rootScope.selectedDivArray);
177 $scope.dragableId = ""; 177 $scope.dragableId = "";
178 if ($scope.quiznumber == $scope.TotalNumberofQuiz) 178 if ($scope.quiznumber == $scope.TotalNumberofQuiz)
179 return; 179 return;
@@ -212,7 +212,7 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location @@ -212,7 +212,7 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location
212 212
213 213
214 $scope.prevQuiz = function () { 214 $scope.prevQuiz = function () {
215 - debugger; 215 +
216 if ($scope.quiznumber != 1) { 216 if ($scope.quiznumber != 1) {
217 // $scope.quizQuesNo = $scope.quizQuesNo - 1; 217 // $scope.quizQuesNo = $scope.quizQuesNo - 1;
218 // $scope.selectedQuestionNo = $scope.quizQuesNo; 218 // $scope.selectedQuestionNo = $scope.quizQuesNo;
@@ -255,7 +255,7 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location @@ -255,7 +255,7 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location
255 255
256 256
257 $scope.SubmitAttempt = function () { 257 $scope.SubmitAttempt = function () {
258 - debugger; 258 +
259 $scope.CreateLabExerciseDataToSave(); 259 $scope.CreateLabExerciseDataToSave();
260 260
261 $("#submitResultHtml").css("display", "block"); 261 $("#submitResultHtml").css("display", "block");
@@ -512,7 +512,7 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location @@ -512,7 +512,7 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location
512 512
513 $scope.usersCorrectQuestData = []; 513 $scope.usersCorrectQuestData = [];
514 $scope.CreateLabExerciseDataToSave = function () { 514 $scope.CreateLabExerciseDataToSave = function () {
515 - debugger; 515 +
516 $scope.LabExerciseAttemptedData = []; 516 $scope.LabExerciseAttemptedData = [];
517 $scope.lb = []; 517 $scope.lb = [];
518 //get user answers 518 //get user answers