diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index f81d04d..5f2fedb 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -776,7 +776,8 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo // annotation toolbar canvas if ($("#canvasDiv").find("canvas[id='canvasPaint']").length == 0) { - $("#canvasDiv").append(''); + var $layerChange = $("#canvasDiv").append(''); + $compile($layerChange)($scope); $scope.BindCanvasDrawingListners(); // $rootScope.FreeStylePaint();