diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index b766c953d..24156703b 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -2165,10 +2165,14 @@ var ZoteroPane = new function() if (!runAdvanced && search.value.indexOf('"') != -1) { return; } - this.setItemsPaneMessage(Zotero.getString('searchInProgress')); + var spinner = document.getElementById('zotero-tb-search-spinner'); + spinner.style.visibility = 'visible'; var searchVal = search.value; yield this.itemsView.setFilter('search', searchVal); - this.clearItemsPaneMessage(); + spinner.style.visibility = 'hidden'; + if (runAdvanced) { + this.clearItemsPaneMessage(); + } }); diff --git a/chrome/content/zotero/zoteroPane.xul b/chrome/content/zotero/zoteroPane.xul index d9a83520c..7e6ceba47 100644 --- a/chrome/content/zotero/zoteroPane.xul +++ b/chrome/content/zotero/zoteroPane.xul @@ -197,6 +197,7 @@ +