diff --git a/400-SOURCECODE/AIAHTML5.Web/Web.config b/400-SOURCECODE/AIAHTML5.Web/Web.config index d57a9d5..a41312f 100644 --- a/400-SOURCECODE/AIAHTML5.Web/Web.config +++ b/400-SOURCECODE/AIAHTML5.Web/Web.config @@ -40,7 +40,7 @@ - + diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/LabExercController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/LabExercController.js index 80803a6..26c7ac1 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/LabExercController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/LabExercController.js @@ -81,7 +81,7 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location $scope.LabExerciseModules = null; $scope.LabExerciseBoxes = null; //alert($scope.LabExerciseName) - var labExerciseModulePath = '~/../content/data/json/le/' + $scope.LabExerciseName + '.json'; + var labExerciseModulePath = 'content/data/json/le/' + $scope.LabExerciseName + '.json'; DataService.getAnotherJson(labExerciseModulePath).then( function (result) { @@ -107,6 +107,7 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location $scope.Title = result.LabExercise[index].Questions[index1].Title; } else { + alert(result.LabExercise[index].Questions[index1].ImagePath); $("#imgblock").css("display", "block"); $scope.IsVisible = true; $("#textblock").css("display", "none"); diff --git a/400-SOURCECODE/AIAHTML5.Web/app/views/LabExerc/lab-exercises-detail.html b/400-SOURCECODE/AIAHTML5.Web/app/views/LabExerc/lab-exercises-detail.html index 77eb98e..6a6aafd 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/views/LabExerc/lab-exercises-detail.html +++ b/400-SOURCECODE/AIAHTML5.Web/app/views/LabExerc/lab-exercises-detail.html @@ -40,7 +40,7 @@
- +
{{optionbox.Answervalue}}
diff --git a/400-SOURCECODE/AIAHTML5.Web/index.html b/400-SOURCECODE/AIAHTML5.Web/index.html index 43b13a0..f8bf3c4 100644 --- a/400-SOURCECODE/AIAHTML5.Web/index.html +++ b/400-SOURCECODE/AIAHTML5.Web/index.html @@ -2,8 +2,8 @@ - - + +