Browse Source

Add code to nulti page viewer to works with the extension

Vivien Nicolas 14 years ago
parent
commit
6f2d3238cd
  1. 6
      web/multi_page_viewer.js

6
web/multi_page_viewer.js

@ -249,6 +249,8 @@ var PDFViewer = { @@ -249,6 +249,8 @@ var PDFViewer = {
openURL: function(url) {
PDFViewer.url = url;
document.title = url;
if (url.indexOf("http") == 0)
return;
if (this.thumbsLoadingInterval) {
// cancel thumbs loading operations
@ -511,3 +513,7 @@ window.onload = function() { @@ -511,3 +513,7 @@ window.onload = function() {
}
};
};
window.addEventListener('pdfloaded', function(evt) {
PDFViewer.readPDF(data);
}, true);

Loading…
Cancel
Save