diff --git a/chrome/content/zotero/elements/attachmentBox.js b/chrome/content/zotero/elements/attachmentBox.js index 80f3703c77..f285349e35 100644 --- a/chrome/content/zotero/elements/attachmentBox.js +++ b/chrome/content/zotero/elements/attachmentBox.js @@ -433,8 +433,8 @@ else { fileNameRow.hidden = true; } - this._id("title").toggleAttribute("readonly", (!this.editable || !fileExists)); - this._id("fileName").toggleAttribute("readonly", (!this.editable || !fileExists)); + this._id("title").toggleAttribute("readonly", !this.editable); + this._id("fileName").toggleAttribute("readonly", !this.editable || !fileExists); // Page count if (this.displayPages && this._item.isPDFAttachment()) {