Commit 58d028acce5146a5da57a8ba291a1d0f04191289
1 parent
0466a02a
removed commented code
Showing
1 changed file
with
6 additions
and
9 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
@@ -126,7 +126,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou | @@ -126,7 +126,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou | ||
126 | 126 | ||
127 | $rootScope.isLoading = false; | 127 | $rootScope.isLoading = false; |
128 | $('#spinner').css('visibility', 'hidden'); | 128 | $('#spinner').css('visibility', 'hidden'); |
129 | - }, 100); | 129 | + }, 200); |
130 | 130 | ||
131 | 131 | ||
132 | }, 100); | 132 | }, 100); |
@@ -933,7 +933,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou | @@ -933,7 +933,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou | ||
933 | 933 | ||
934 | $rootScope.isLoading = false; | 934 | $rootScope.isLoading = false; |
935 | $('#spinner').css('visibility', 'hidden'); | 935 | $('#spinner').css('visibility', 'hidden'); |
936 | - // $scope.MultiLanguageAnnationArray.push($rootScope.annotationText[i]) | 936 | + |
937 | } | 937 | } |
938 | 938 | ||
939 | $scope.removeSpeechBubble = function () { | 939 | $scope.removeSpeechBubble = function () { |
@@ -1468,7 +1468,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou | @@ -1468,7 +1468,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou | ||
1468 | }) | 1468 | }) |
1469 | }, | 1469 | }, |
1470 | function (error) { | 1470 | function (error) { |
1471 | - // handle errors here | 1471 | + |
1472 | console.log(' error: ' + error.statusText); | 1472 | console.log(' error: ' + error.statusText); |
1473 | } | 1473 | } |
1474 | ) | 1474 | ) |
@@ -1486,7 +1486,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou | @@ -1486,7 +1486,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou | ||
1486 | var currentView = $rootScope.getLocalStorageValue("currentViewTitle"); | 1486 | var currentView = $rootScope.getLocalStorageValue("currentViewTitle"); |
1487 | var viewNmeHtml = '<option>' + currentView + '</option>' | 1487 | var viewNmeHtml = '<option>' + currentView + '</option>' |
1488 | $('#viewName').append(viewNmeHtml); | 1488 | $('#viewName').append(viewNmeHtml); |
1489 | - //$("#viewName").append("<option>" + $rootScope.listArray[0].text + "</option>"); | 1489 | + |
1490 | $rootScope.isLoading = false; | 1490 | $rootScope.isLoading = false; |
1491 | $('#spinner').css('visibility', 'hidden'); | 1491 | $('#spinner').css('visibility', 'hidden'); |
1492 | 1492 | ||
@@ -1549,9 +1549,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou | @@ -1549,9 +1549,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou | ||
1549 | if ($rootScope.bodySystemTermArray[j].language == $rootScope.lexiconLanguageArray[0].id) { | 1549 | if ($rootScope.bodySystemTermArray[j].language == $rootScope.lexiconLanguageArray[0].id) { |
1550 | $rootScope.duplicateListArray.push({ "title": $rootScope.bodySystemTermArray[j].text, "id": $rootScope.bodySystemTermArray[j].termNumbr }); | 1550 | $rootScope.duplicateListArray.push({ "title": $rootScope.bodySystemTermArray[j].text, "id": $rootScope.bodySystemTermArray[j].termNumbr }); |
1551 | 1551 | ||
1552 | - | ||
1553 | - | ||
1554 | - // console.log($rootScope.bodySystemTermArray); | 1552 | + |
1555 | } | 1553 | } |
1556 | } | 1554 | } |
1557 | } | 1555 | } |
@@ -1563,9 +1561,8 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou | @@ -1563,9 +1561,8 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou | ||
1563 | var termID = $rootScope.duplicateListArray[i].id; | 1561 | var termID = $rootScope.duplicateListArray[i].id; |
1564 | if ($.inArray(termID, temp) == -1) { | 1562 | if ($.inArray(termID, temp) == -1) { |
1565 | temp.push(termID); | 1563 | temp.push(termID); |
1566 | - console.log('1'+$rootScope.duplicateListArray[i].title + " " + $rootScope.duplicateListArray[i].id); | ||
1567 | $rootScope.sortedListArray.push({ "title": $rootScope.duplicateListArray[i].title, "id": termID }); | 1564 | $rootScope.sortedListArray.push({ "title": $rootScope.duplicateListArray[i].title, "id": termID }); |
1568 | - console.log('3' + $rootScope.sortedListArray[i].title + " " + $rootScope.sortedListArray[i].id) | 1565 | + |
1569 | } | 1566 | } |
1570 | } | 1567 | } |
1571 | console.log('2'+$rootScope.sortedListArray); | 1568 | console.log('2'+$rootScope.sortedListArray); |