Fix quicksearch error before mode is set

This commit is contained in:
Dan Stillman 2011-05-02 20:18:26 +00:00
parent fe1eb01ce6
commit b4b3455f55

View file

@ -1515,6 +1515,7 @@ var Zotero = new function(){
};
if (!modes[mode]) {
Zotero.Prefs.set("search.quicksearch-mode", "fields");
mode = 'fields';
}