Merge pull request #5632 from yurydelendik/b2g-start
Fixes B2G file open sequence.
This commit is contained in:
		
						commit
						8d0c442004
					
				| @ -2252,6 +2252,8 @@ window.addEventListener('afterprint', function afterPrint(evt) { | |||||||
| //  var fileURL = activity.source.data.url;
 | //  var fileURL = activity.source.data.url;
 | ||||||
| //
 | //
 | ||||||
| //  var url = URL.createObjectURL(blob);
 | //  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});
 | //    PDFViewerApplication.open({url : url, originalUrl: fileURL});
 | ||||||
| //
 | //
 | ||||||
| //    var header = document.getElementById('header');
 | //    var header = document.getElementById('header');
 | ||||||
| @ -2259,4 +2261,5 @@ window.addEventListener('afterprint', function afterPrint(evt) { | |||||||
| //      activity.postResult('close');
 | //      activity.postResult('close');
 | ||||||
| //    });
 | //    });
 | ||||||
| //  });
 | //  });
 | ||||||
|  | //});
 | ||||||
| //#endif
 | //#endif
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user