Fix attachment file mtime in right pane

This commit is contained in:
Dan Stillman 2014-08-07 16:03:17 -04:00
parent ab36dda6e7
commit cb6fae694c

View file

@ -273,7 +273,7 @@
if (this.displayDateModified) {
this._id("dateModified-label").value = Zotero.getString('itemFields.dateModified')
+ Zotero.getString('punctuation.colon');
var mtime = this.item.attachmentModificationTime;
var mtime = yield this.item.attachmentModificationTime;
if (mtime) {
this._id("dateModified").value = new Date(mtime).toLocaleString();
}