Fix error dragging items if tag selector was closed at startup
This commit is contained in:
parent
71f9420cff
commit
197397ff7a
1 changed files with 2 additions and 1 deletions
|
@ -1845,7 +1845,8 @@ Zotero.ItemTreeView.prototype.selectItems = async function (ids, noRecurse) {
|
|||
// Clear the quick search and tag selection and try again (once)
|
||||
if (!noRecurse && this.window.ZoteroPane) {
|
||||
let cleared1 = await this.window.ZoteroPane.clearQuicksearch();
|
||||
let cleared2 = this.window.ZoteroPane.tagSelector.clearTagSelection();
|
||||
let cleared2 = this.window.ZoteroPane.tagSelector
|
||||
&& this.window.ZoteroPane.tagSelector.clearTagSelection();
|
||||
if (cleared1 || cleared2) {
|
||||
return this.selectItems(ids, true);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue