|
|
@ -202,7 +202,9 @@ |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
ensureOverlay().then(function () { |
|
|
|
ensureOverlay().then(function () { |
|
|
|
|
|
|
|
if (activeService) { |
|
|
|
OverlayManager.open('printServiceOverlay'); |
|
|
|
OverlayManager.open('printServiceOverlay'); |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
try { |
|
|
@ -210,6 +212,10 @@ |
|
|
|
} finally { |
|
|
|
} finally { |
|
|
|
if (!activeService) { |
|
|
|
if (!activeService) { |
|
|
|
console.error('Expected print service to be initialized.'); |
|
|
|
console.error('Expected print service to be initialized.'); |
|
|
|
|
|
|
|
if (OverlayManager.active === 'printServiceOverlay') { |
|
|
|
|
|
|
|
OverlayManager.close('printServiceOverlay'); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
var activeServiceOnEntry = activeService; |
|
|
|
var activeServiceOnEntry = activeService; |
|
|
|
activeService.renderPages().then(function () { |
|
|
|
activeService.renderPages().then(function () { |
|
|
|