From 2e96d9c38cc485b7744bdf5ef6242a468f0f381d Mon Sep 17 00:00:00 2001 From: Mukul Date: Fri, 14 Jul 2017 14:48:59 +0530 Subject: [PATCH] this is for aadetailpage not open on QA url --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js index 6fb8118..65999b4 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js @@ -134,6 +134,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo //0.4 for Opening module item, load it into image var openedImage = new Image(); + openedImage.id = 'modItemImage'; openedImage.name = $rootScope.OpenItemImagePath; openedImage.onload = getImageHeightWidth; openedImage.onerror = loadFailure; @@ -149,8 +150,8 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo $('#aaBodyView').css("width", $(window).outerWidth()); $scope.currentTitleFromJson = localStorage.getItem("currentViewTitle"); - $("#modItemImage").attr('src', $rootScope.OpenItemImagePath); - + //$("#modItemImage").attr('src', $rootScope.OpenItemImagePath); + $(openedImage).appendTo('#canvasDiv'); $rootScope.ViewImageWidth = $("#modItemImage").width(); $scope.ViewImageWidth = $("#modItemImage").width(); -- libgit2 0.21.4