Fix error showing pages/modified in attachment box

This commit is contained in:
Dan Stillman 2015-11-03 17:04:28 -05:00
parent b52cfae225
commit b8d00e2051

View file

@ -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 {