Fix bug introduced in r958 with creating a new saved search

This commit is contained in:
Dan Stillman 2006-12-15 22:26:37 +00:00
parent edfe4b73be
commit c58b8f245d

View file

@ -234,6 +234,7 @@ var ZoteroPane = new function()
function newSearch()
{
var s = new Zotero.Search();
s.addCondition('title', 'contains', '');
var untitled = Zotero.getString('pane.collections.untitled');
untitled = Zotero.DB.getNextName('savedSearches', 'savedSearchName',