Commit bebd8e1adcb49c5faf3fcb3aa02eedcd7678fa61
1 parent
41e59c3b
BUG#38018
Showing
1 changed file
with
17 additions
and
0 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -8689,6 +8689,23 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$filter","$ | @@ -8689,6 +8689,23 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$filter","$ | ||
8689 | } | 8689 | } |
8690 | } | 8690 | } |
8691 | 8691 | ||
8692 | + //Start BUG#38018 | ||
8693 | + for (var i = 4; i <= $rootScope.grayImageMRDataList.length; i++) { | ||
8694 | + var grayCanvasMRID = 'imageCanvas' + i + '_MR'; | ||
8695 | + var grayCanvasMR = document.getElementById(grayCanvasMRID); | ||
8696 | + | ||
8697 | + if (grayCanvasMR != null) { | ||
8698 | + var grayCanvasContextMR = grayCanvasMR.getContext("2d"); | ||
8699 | + | ||
8700 | + var canvasHeight = grayCanvasMR.height; | ||
8701 | + var canvasWidth = grayCanvasMR.width; | ||
8702 | + grayCanvasContextMR.clearRect(0, 0, canvasHeight, canvasWidth); | ||
8703 | + grayCanvasContextMR.putImageData($rootScope.grayImageMRDataList[parseInt(i)], 0, 0); | ||
8704 | + } | ||
8705 | + } | ||
8706 | + //END BUG#38018 | ||
8707 | + | ||
8708 | + | ||
8692 | } | 8709 | } |
8693 | 8710 | ||
8694 | $scope.removeBodySyetemSelectionClass = function (title_highlightbody) { | 8711 | $scope.removeBodySyetemSelectionClass = function (title_highlightbody) { |