Bug 379571 autocomplete should not try to create empty search sessions r+sr=jag

git-svn-id: svn://10.0.0.236/trunk@225575 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
neil%parkwaycc.co.uk
2007-05-04 08:46:23 +00:00
parent 917f302fe1
commit e88f58dde4

View File

@@ -52,8 +52,10 @@
this.ifSetAttribute("disableKeyNavigation", true);
// initialize the search sessions
this.initSearchSessions();
this.initAutoCompleteSearch();
if (this.hasAttribute("searchSessions"))
this.initSearchSessions();
if (this.hasAttribute("autocompletesearch"))
this.initAutoCompleteSearch();
// hack to work around lack of bottom-up constructor calling
if ("initialize" in this.resultsPopup)