commit b3acb12973dde64acb9484c650f50e5336c9b47a
parent 44507ce20b278c97f243f3d05e15e69749180bde
Author: Dan Stillman <dstillman@zotero.org>
Date: Thu, 11 May 2017 01:07:21 -0400
Don't show Modified if attachment is missing
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/bindings/attachmentbox.xml b/chrome/content/zotero/bindings/attachmentbox.xml
@@ -324,7 +324,7 @@
if (mtime) {
this._id("dateModified").value = new Date(mtime).toLocaleString();
}
- dateModifiedRow.hidden = false;
+ dateModifiedRow.hidden = !mtime;
}.bind(this));
}
}
@@ -593,7 +593,7 @@
<label id="pages-label"/>
<label id="pages"/>
</row>
- <row id="dateModifiedRow">
+ <row id="dateModifiedRow" hidden="true">
<label id="dateModified-label"/>
<label id="dateModified"/>
</row>