Fix error showing pages/modified in attachment box
This commit is contained in:
parent
b52cfae225
commit
b8d00e2051
1 changed files with 2 additions and 3 deletions
|
@ -300,7 +300,7 @@
|
|||
else {
|
||||
pagesRow.hidden = true;
|
||||
}
|
||||
});
|
||||
}.bind(this));
|
||||
}
|
||||
else {
|
||||
pagesRow.hidden = true;
|
||||
|
@ -321,12 +321,11 @@
|
|||
this.item.attachmentModificationTime
|
||||
.tap(() => Zotero.Promise.check(this._id))
|
||||
.then(function (mtime) {
|
||||
if (!this._id) return;
|
||||
if (mtime) {
|
||||
this._id("dateModified").value = new Date(mtime).toLocaleString();
|
||||
}
|
||||
dateModifiedRow.hidden = false;
|
||||
});
|
||||
}.bind(this));
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue