Fix broken Abstract/Extra editing in Firefox 45
This commit is contained in:
parent
e3d03ca380
commit
0746f520e4
1 changed files with 6 additions and 0 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue