Rename DocumentAttachmentsView to PDFAttachmentView
This commit is contained in:
parent
2c19d99a2e
commit
609e2a30e9
@ -18,7 +18,7 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
var DocumentAttachmentsView = function documentAttachmentsView(options) {
|
||||
var PDFAttachmentView = function documentAttachmentsView(options) {
|
||||
var attachments = options.attachments;
|
||||
var attachmentsView = options.attachmentsView;
|
||||
while (attachmentsView.firstChild) {
|
||||
|
@ -19,7 +19,7 @@
|
||||
PDFHistory, Preferences, SidebarView, ViewHistory, Stats,
|
||||
PDFThumbnailViewer, URL, noContextMenuHandler, SecondaryToolbar,
|
||||
PasswordPrompt, PresentationMode, HandTool, Promise,
|
||||
DocumentProperties, PDFOutlineView, DocumentAttachmentsView,
|
||||
DocumentProperties, PDFOutlineView, PDFAttachmentView,
|
||||
OverlayManager, PDFFindController, PDFFindBar, getVisibleElements,
|
||||
watchScroll, PDFViewer, PDFRenderingQueue, PresentationModeState,
|
||||
RenderingStates, DEFAULT_SCALE, UNKNOWN_SCALE,
|
||||
@ -986,7 +986,7 @@ var PDFViewerApplication = {
|
||||
});
|
||||
pdfDocument.getAttachments().then(function(attachments) {
|
||||
var attachmentsView = document.getElementById('attachmentsView');
|
||||
self.attachments = new DocumentAttachmentsView({
|
||||
self.attachments = new PDFAttachmentView({
|
||||
attachments: attachments,
|
||||
attachmentsView: attachmentsView
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user