diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/LabExercController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/LabExercController.js
index 2f26f45..832db53 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/LabExercController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/LabExercController.js
@@ -913,17 +913,21 @@ function ($scope, $rootScope, pages, log, $http, $timeout, DataService, $filter,
$scope.usersCorrectQuestData = [];
$scope.CreateLabExerciseDataToSave = function () {
- if ($scope.UserAttempt.length == 0) {
- $("#imgdiv").find("div").each(function () {
- if ($(this).attr("id").split("-")[0] == "blockans") {
- $scope.UserAttempt.push({ "BlankBoxName": $(this).attr("id").split("-")[1], "OptionName": $(this).attr("draggedattr").split("-")[1] });
- }
- });
- }
-
- // console.log($scope.SavedLabExercise);
- // console.log($scope.usersCorrectQuestData);
- // console.log($scope.LabExerciseUserData);
+ //if ($scope.UserAttempt.length == 0) {
+ // $("#imgdiv").find("div").each(function () {
+ // if ($(this).attr("id").split("-")[0] == "blockans") {
+ // $scope.UserAttempt.push({ "BlankBoxName": $(this).attr("id").split("-")[1], "OptionName": $(this).attr("draggedattr").split("-")[1] });
+ // }
+ // });
+ //}
+ $scope.UserAttempt = [];
+ //if ($scope.UserAttempt.length == 0) {
+ $("#imgdiv").find("div").each(function () {
+ if ($(this).attr("id").split("-")[0] == "blockans") {
+ $scope.UserAttempt.push({ "BlankBoxName": $(this).attr("id").split("-")[1], "OptionName": $(this).attr("draggedattr").split("-")[1] });
+ }
+ });
+
$scope.LabExerciseAttemptedData = [];
$scope.lb = [];
//get user answers