diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/LabExercController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/LabExercController.js index a58dea0..83e3a39 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/LabExercController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/LabExercController.js @@ -156,7 +156,7 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location } $scope.isReviewBtnSelected = false; - $rootScope.selectedDivArray = []; + // $rootScope.selectedDivArray = []; $scope.nextQuiz = function () { //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 $scope.CreateLabExerciseDataToSave(); } - console.log($rootScope.selectedDivArray); + // console.log($rootScope.selectedDivArray); $scope.dragableId = ""; if ($scope.quiznumber == $scope.TotalNumberofQuiz) return; @@ -212,7 +212,7 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location $scope.prevQuiz = function () { - debugger; + if ($scope.quiznumber != 1) { // $scope.quizQuesNo = $scope.quizQuesNo - 1; // $scope.selectedQuestionNo = $scope.quizQuesNo; @@ -255,7 +255,7 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location $scope.SubmitAttempt = function () { - debugger; + $scope.CreateLabExerciseDataToSave(); $("#submitResultHtml").css("display", "block"); @@ -512,7 +512,7 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location $scope.usersCorrectQuestData = []; $scope.CreateLabExerciseDataToSave = function () { - debugger; + $scope.LabExerciseAttemptedData = []; $scope.lb = []; //get user answers