Always autocomplete creators in hideEditor (#2516)
This commit is contained in:
parent
47a2f3cad9
commit
be0b0a7151
1 changed files with 6 additions and 0 deletions
|
@ -1821,6 +1821,12 @@
|
|||
<parameter name="textbox"/>
|
||||
<body><![CDATA[
|
||||
return (async function () {
|
||||
// Handle cases where creator autocomplete doesn't trigger
|
||||
// the textentered and change events handled in showEditor
|
||||
if (textbox.getAttribute('fieldname').startsWith('creator-')) {
|
||||
this.handleCreatorAutoCompleteSelect(textbox);
|
||||
}
|
||||
|
||||
Zotero.debug(`Hiding editor for ${textbox.getAttribute('fieldname')}`);
|
||||
|
||||
var label = Zotero.getAncestorByTagName(textbox, 'row').querySelector('label');
|
||||
|
|
Loading…
Reference in a new issue