diff --git a/400-SOURCECODE/AIAHTML5.Web/Web.config b/400-SOURCECODE/AIAHTML5.Web/Web.config index d514e77..cff50a9 100644 --- a/400-SOURCECODE/AIAHTML5.Web/Web.config +++ b/400-SOURCECODE/AIAHTML5.Web/Web.config @@ -38,6 +38,7 @@ + diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/CurrBuildController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/CurrBuildController.js index d5534f5..5d5cf4f 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/CurrBuildController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/CurrBuildController.js @@ -4,6 +4,7 @@ function ($scope, $rootScope, pages, log,Modules,$http,$compile) { $rootScope.currentActiveModuleTitle = pages[6].name; $scope.showme = false; $scope.listCurriculumBuilder = null; + $scope.dataPopup = null; $scope.countLeftlist; $scope.countRightlist; $scope.IsVisible = function () { @@ -39,6 +40,7 @@ function ($scope, $rootScope, pages, log,Modules,$http,$compile) { .select(); for (var i = 0; i < $scope.countLeftlist; i++) { console.log($scope.listCurriculumBuilder.slideshows.slideshow[i]._label); + alert($scope.listCurriculumBuilder.slideshows.slideshow[i]._label); var $el = $('
  • ' + $scope.listCurriculumBuilder.slideshows.slideshow[i]._label + '
  • ').appendTo('#leftBodyViewList'); $compile($el)($scope); } @@ -52,9 +54,17 @@ function ($scope, $rootScope, pages, log,Modules,$http,$compile) { } - $scope.loadSlideShowXmldata = function ($event) { + $scope.loadSlideShowXmldata = function (e) { - alert("asd"); + alert(e); + $http({ method: 'GET', url: 'content/data/json/cb/SlideShow/AIA_Curriculum_Builder_Guide.sldshw' }).success(function (data) { + + $scope.dataPopup = data; + alert($scope.dataPopup); + }) + .error(function (data, status, headers, config) { + console.log(data); + }); } }]