From 15aaa43e0b8f055d88fd8be38ce260acfecf3b1b Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 27 Feb 2018 10:50:29 +0530 Subject: [PATCH] Commit Changes --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/LabExercController.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- libgit2 0.21.4