From cb6fae694ccbf912f07b6a65a018734a78d3423b Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 7 Aug 2014 16:03:17 -0400 Subject: [PATCH] Fix attachment file mtime in right pane --- chrome/content/zotero/bindings/attachmentbox.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/bindings/attachmentbox.xml b/chrome/content/zotero/bindings/attachmentbox.xml index 7fb7fb2e4..2d6b29513 100644 --- a/chrome/content/zotero/bindings/attachmentbox.xml +++ b/chrome/content/zotero/bindings/attachmentbox.xml @@ -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(); }