Merge pull request #5639 from Snuffleupagus/DocumentProperties-faster-fileSize-2
Attempt to display the File size quicker in the Document Properties dialog (PR 5554 followup)
This commit is contained in:
commit
f6ad15d084
@ -403,6 +403,10 @@ var PDFViewerApplication = {
|
||||
|
||||
PDFViewerApplication.open(args.pdfUrl, 0, undefined,
|
||||
pdfDataRangeTransport);
|
||||
|
||||
if (args.length) {
|
||||
DocumentProperties.setFileSize(args.length);
|
||||
}
|
||||
break;
|
||||
case 'range':
|
||||
pdfDataRangeTransport.onDataRange(args.begin, args.chunk);
|
||||
|
Loading…
x
Reference in New Issue
Block a user