Merge pull request #5632 from yurydelendik/b2g-start
Fixes B2G file open sequence.
This commit is contained in:
		
						commit
						8d0c442004
					
				| @ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user