Commit d300150636df9bb4f4542fbde74cf48e1419283a
Showing
1 changed file
with
17 additions
and
0 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... | ... | @@ -8699,6 +8699,23 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$filter","$ |
8699 | 8699 | } |
8700 | 8700 | } |
8701 | 8701 | |
8702 | + //Start BUG#38018 | |
8703 | + for (var i = 4; i <= $rootScope.grayImageMRDataList.length; i++) { | |
8704 | + var grayCanvasMRID = 'imageCanvas' + i + '_MR'; | |
8705 | + var grayCanvasMR = document.getElementById(grayCanvasMRID); | |
8706 | + | |
8707 | + if (grayCanvasMR != null) { | |
8708 | + var grayCanvasContextMR = grayCanvasMR.getContext("2d"); | |
8709 | + | |
8710 | + var canvasHeight = grayCanvasMR.height; | |
8711 | + var canvasWidth = grayCanvasMR.width; | |
8712 | + grayCanvasContextMR.clearRect(0, 0, canvasHeight, canvasWidth); | |
8713 | + grayCanvasContextMR.putImageData($rootScope.grayImageMRDataList[parseInt(i)], 0, 0); | |
8714 | + } | |
8715 | + } | |
8716 | + //END BUG#38018 | |
8717 | + | |
8718 | + | |
8702 | 8719 | } |
8703 | 8720 | |
8704 | 8721 | $scope.removeBodySyetemSelectionClass = function (title_highlightbody) { | ... | ... |