Commit da965f1e2dc98079e07350dac8c4d70cf1ac84a6

Authored by unknown
1 parent bfca2cb9

Commit changes for Ref : Issue #7399

 Issue #7399: Alerts are showing for all body sytems on Curriculum builder module click(observed at google chrome)
400-SOURCECODE/AIAHTML5.Web/app/controllers/CurrBuildController.js
@@ -40,7 +40,7 @@ function ($scope, $rootScope, pages, log,Modules,$http,$compile) { @@ -40,7 +40,7 @@ function ($scope, $rootScope, pages, log,Modules,$http,$compile) {
40 .select(); 40 .select();
41 for (var i = 0; i < $scope.countLeftlist; i++) { 41 for (var i = 0; i < $scope.countLeftlist; i++) {
42 console.log($scope.listCurriculumBuilder.slideshows.slideshow[i]._label); 42 console.log($scope.listCurriculumBuilder.slideshows.slideshow[i]._label);
43 - alert($scope.listCurriculumBuilder.slideshows.slideshow[i]._label); 43 + //alert($scope.listCurriculumBuilder.slideshows.slideshow[i]._label);
44 var $el = $('<li class="list-group-item" data-toggle="modal" data-target="#myModal-1" ng-click="loadSlideShowXmldata()"><a href="#"><i class="fa fa-check"></i>' + $scope.listCurriculumBuilder.slideshows.slideshow[i]._label + '</a></li>').appendTo('#leftBodyViewList'); 44 var $el = $('<li class="list-group-item" data-toggle="modal" data-target="#myModal-1" ng-click="loadSlideShowXmldata()"><a href="#"><i class="fa fa-check"></i>' + $scope.listCurriculumBuilder.slideshows.slideshow[i]._label + '</a></li>').appendTo('#leftBodyViewList');
45 $compile($el)($scope); 45 $compile($el)($scope);
46 } 46 }
@@ -56,7 +56,7 @@ function ($scope, $rootScope, pages, log,Modules,$http,$compile) { @@ -56,7 +56,7 @@ function ($scope, $rootScope, pages, log,Modules,$http,$compile) {
56 56
57 $scope.loadSlideShowXmldata = function (e) { 57 $scope.loadSlideShowXmldata = function (e) {
58 58
59 - alert(e); 59 + // alert(e);
60 $http({ method: 'GET', url: 'content/data/json/cb/SlideShow/AIA_Curriculum_Builder_Guide.sldshw' }).success(function (data) { 60 $http({ method: 'GET', url: 'content/data/json/cb/SlideShow/AIA_Curriculum_Builder_Guide.sldshw' }).success(function (data) {
61 61
62 $scope.dataPopup = data; 62 $scope.dataPopup = data;