|
|
@ -266,6 +266,7 @@ define(['require', 'underscore', 'jquery', 'text!partials/pdfcanvas_sandbox.html |
|
|
|
$scope.$on("$destroy", function() { |
|
|
|
$scope.$on("$destroy", function() { |
|
|
|
pdfCanvas.close(); |
|
|
|
pdfCanvas.close(); |
|
|
|
pdfCanvas = null; |
|
|
|
pdfCanvas = null; |
|
|
|
|
|
|
|
sandboxApi.destroy(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
$scope.$watch("currentPageNumber", function(page, oldValue) { |
|
|
|
$scope.$watch("currentPageNumber", function(page, oldValue) { |
|
|
|