diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js index 837d0d537..6238cea91 100644 --- a/chrome/content/zotero/overlay.js +++ b/chrome/content/zotero/overlay.js @@ -38,7 +38,6 @@ var ZoteroPane = new function() this.setHighlightedRowsCallback = setHighlightedRowsCallback; this.newItem = newItem; this.newCollection = newCollection; - this.newSearch = newSearch; this.openAdvancedSearchWindow = openAdvancedSearchWindow; this.toggleTagSelector = toggleTagSelector; this.updateTagSelectorSize = updateTagSelectorSize; @@ -380,18 +379,6 @@ var ZoteroPane = new function() Zotero.Collections.add(newName.value, parent); } - function newSearch() - { - var s = new Zotero.Search(); - s.addCondition('title', 'contains', ''); - - var untitled = Zotero.getString('pane.collections.untitled'); - untitled = Zotero.DB.getNextName('savedSearches', 'savedSearchName', - Zotero.getString('pane.collections.untitled')); - var io = {dataIn: {search: s, name: untitled}, dataOut: null}; - window.openDialog('chrome://zotero/content/searchDialog.xul','','chrome,modal',io); - } - function openAdvancedSearchWindow() { var s = new Zotero.Search(); diff --git a/chrome/content/zotero/overlay.xul b/chrome/content/zotero/overlay.xul index 82a29669a..cc1c5f34c 100644 --- a/chrome/content/zotero/overlay.xul +++ b/chrome/content/zotero/overlay.xul @@ -105,7 +105,6 @@ - diff --git a/chrome/skin/default/zotero/overlay.css b/chrome/skin/default/zotero/overlay.css index ca0a61711..9d542e4a2 100644 --- a/chrome/skin/default/zotero/overlay.css +++ b/chrome/skin/default/zotero/overlay.css @@ -198,11 +198,6 @@ width: 150px; } -#zotero-tb-collection-addsearch -{ - list-style-image: url('chrome://zotero/skin/treesource-search.png'); -} - #zotero-tb-search-cancel { width: 10px;