Browse Source

Merge pull request #5632 from yurydelendik/b2g-start

Fixes B2G file open sequence.
Jonas Jenwald 10 years ago
parent
commit
8d0c442004
  1. 3
      web/viewer.js

3
web/viewer.js

@ -2252,11 +2252,14 @@ window.addEventListener('afterprint', function afterPrint(evt) { @@ -2252,11 +2252,14 @@ window.addEventListener('afterprint', function afterPrint(evt) {
// var fileURL = activity.source.data.url;
//
// var url = URL.createObjectURL(blob);
// // We need to delay opening until all HTML is loaded.
// PDFViewerApplication.animationStartedPromise.then(function () {
// PDFViewerApplication.open({url : url, originalUrl: fileURL});
//
// var header = document.getElementById('header');
// header.addEventListener('action', function() {
// activity.postResult('close');
// });
// });
//});
//#endif

Loading…
Cancel
Save