Moves all document.getElementById lookups into viewer.js
This commit is contained in:
parent
d5c000850a
commit
b6c74f2056
9 changed files with 233 additions and 165 deletions
|
@ -49,6 +49,7 @@ var PDFDocumentProperties = (function PDFDocumentPropertiesClosure() {
|
|||
function PDFDocumentProperties(options) {
|
||||
this.fields = options.fields;
|
||||
this.overlayName = options.overlayName;
|
||||
this.container = options.container;
|
||||
|
||||
this.rawFileSize = 0;
|
||||
this.url = null;
|
||||
|
@ -63,7 +64,8 @@ var PDFDocumentProperties = (function PDFDocumentPropertiesClosure() {
|
|||
this.resolveDataAvailable = resolve;
|
||||
}.bind(this));
|
||||
|
||||
OverlayManager.register(this.overlayName, this.close.bind(this));
|
||||
OverlayManager.register(this.overlayName, this.container,
|
||||
this.close.bind(this));
|
||||
}
|
||||
|
||||
PDFDocumentProperties.prototype = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue