Commit bf1672fe6623998c789cb7b08748b2185e51d87d
1 parent
d1ae77aa
on next and previous answers were getting reset- fixed
Showing
1 changed file
with
1 additions
and
1 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/LabExercController.js
@@ -194,7 +194,7 @@ function ($scope, $rootScope, pages, log, $http, $timeout, DataService, $filter, | @@ -194,7 +194,7 @@ function ($scope, $rootScope, pages, log, $http, $timeout, DataService, $filter, | ||
194 | }); | 194 | }); |
195 | $timeout(function () { | 195 | $timeout(function () { |
196 | 196 | ||
197 | - if ($scope.SavedLabExercise != undefined && $scope.SavedLabExercise.lastQuestion > 0) { | 197 | + if (($scope.SavedLabExercise != undefined && $scope.SavedLabExercise.lastQuestion > 0) || ($scope.LabExerciseUserData != undefined && $scope.LabExerciseUserData.length > 0)) { |
198 | if ($scope.isResetClicked != true) { | 198 | if ($scope.isResetClicked != true) { |
199 | $scope.ShowSavedLabExercise(); | 199 | $scope.ShowSavedLabExercise(); |
200 | 200 |