Commit 2e96d9c38cc485b7744bdf5ef6242a468f0f381d
1 parent
2ca490b1
this is for aadetailpage not open on QA url
Showing
1 changed file
with
3 additions
and
2 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
... | ... | @@ -134,6 +134,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
134 | 134 | |
135 | 135 | //0.4 for Opening module item, load it into image |
136 | 136 | var openedImage = new Image(); |
137 | + openedImage.id = 'modItemImage'; | |
137 | 138 | openedImage.name = $rootScope.OpenItemImagePath; |
138 | 139 | openedImage.onload = getImageHeightWidth; |
139 | 140 | openedImage.onerror = loadFailure; |
... | ... | @@ -149,8 +150,8 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
149 | 150 | $('#aaBodyView').css("width", $(window).outerWidth()); |
150 | 151 | |
151 | 152 | $scope.currentTitleFromJson = localStorage.getItem("currentViewTitle"); |
152 | - $("#modItemImage").attr('src', $rootScope.OpenItemImagePath); | |
153 | - | |
153 | + //$("#modItemImage").attr('src', $rootScope.OpenItemImagePath); | |
154 | + $(openedImage).appendTo('#canvasDiv'); | |
154 | 155 | |
155 | 156 | $rootScope.ViewImageWidth = $("#modItemImage").width(); |
156 | 157 | $scope.ViewImageWidth = $("#modItemImage").width(); | ... | ... |