commit 0746f520e46873bd026a4757294b1cdc4105fb41 parent e3d03ca3800d12aea0265d28ba8f4fb539bb809f Author: Dan Stillman <dstillman@zotero.org> Date: Thu, 10 Mar 2016 07:03:41 -0500 Fix broken Abstract/Extra editing in Firefox 45 Diffstat:
| M | chrome/content/zotero/bindings/itembox.xml | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml @@ -1375,6 +1375,12 @@ this._dynamicFields.focus(); } + // In Firefox 45, when clicking a multiline field such as Extra, the event is + // triggered on the inner 'description' element instead of the 'vbox'. + if (elem.tagName == 'description') { + elem = elem.parentNode; + } + Zotero.debug('Showing editor'); var fieldName = elem.getAttribute('fieldname');