Prevent the Document Properties from being empty when the dialog is opened before the file has started loading

This commit is contained in:
Jonas Jenwald 2014-03-31 23:12:48 +02:00
parent b97127aca2
commit 025f340228
2 changed files with 23 additions and 10 deletions

View file

@ -887,6 +887,8 @@ var PDFView = {
this.pdfDocument = pdfDocument;
DocumentProperties.resolveDataAvailable();
pdfDocument.getDownloadInfo().then(function() {
PDFView.loadingBar.hide();
var outerContainer = document.getElementById('outerContainer');