mirror of
https://github.com/zotero/zotero.git
synced 2026-09-27 01:21:27 +00:00
Fix read-only title box on non-file attachment
Regression in e625c0009e
https://forums.zotero.org/discussion/125214/attachment-title-of-web-links-cannot-be-modified
This commit is contained in:
parent
7beed24756
commit
d9a45726d4
1 changed files with 2 additions and 2 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue