|
|
@ -2293,13 +2293,19 @@ var DocumentOutlineView = function documentOutlineView(outline) { |
|
|
|
document.addEventListener('DOMContentLoaded', function webViewerLoad(evt) { |
|
|
|
document.addEventListener('DOMContentLoaded', function webViewerLoad(evt) { |
|
|
|
PDFView.initialize(); |
|
|
|
PDFView.initialize(); |
|
|
|
|
|
|
|
|
|
|
|
//#if !(FIREFOX || MOZCENTRAL || CHROME)
|
|
|
|
//#if !(FIREFOX || MOZCENTRAL)
|
|
|
|
var params = PDFView.parseQueryString(document.location.search.substring(1)); |
|
|
|
var params = PDFView.parseQueryString(document.location.search.substring(1)); |
|
|
|
var file = params.file || DEFAULT_URL; |
|
|
|
var file = params.file || DEFAULT_URL; |
|
|
|
//#else
|
|
|
|
//#else
|
|
|
|
//var file = window.location.href.split('#')[0];
|
|
|
|
//var file = window.location.href.split('#')[0];
|
|
|
|
//#endif
|
|
|
|
//#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//#if CHROME
|
|
|
|
|
|
|
|
//if (location.protocol !== 'chrome-extension:') {
|
|
|
|
|
|
|
|
// file = location.href.split('#')[0];
|
|
|
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
//#endif
|
|
|
|
|
|
|
|
|
|
|
|
//#if !(FIREFOX || MOZCENTRAL || CHROME)
|
|
|
|
//#if !(FIREFOX || MOZCENTRAL || CHROME)
|
|
|
|
var fileInput = document.createElement('input'); |
|
|
|
var fileInput = document.createElement('input'); |
|
|
|
fileInput.id = 'fileInput'; |
|
|
|
fileInput.id = 'fileInput'; |
|
|
|