89198 - add option to show comments column in autocomplete, r=blake, sr=ben

This commit is contained in:
hewitt%netscape.com 2006-09-14 05:59:31 +00:00
Родитель 16f150a12d
Коммит 7e51d436ae
2 изменённых файлов: 2 добавлений и 12 удалений

Просмотреть файл

@ -162,6 +162,7 @@ Contributor(s): ______________________________________. -->
type="autocomplete" searchSessions="history"
timeout="50" maxrows="6" alwaysOpenPopup="true"
defaultSearchEngine="true" tabScrolling="true"
showCommentColumn="true"
tooltip="aTooltip" tooltiptext="&locationBar.tooltip;"
ontextcommand="return handleURLBarCommand(userAction);"
ontextrevert="return handleURLBarRevert();"

Просмотреть файл

@ -127,9 +127,6 @@
<property name="mInputListener"><![CDATA[
(function(aEvent) {
this.resultsPopup.mSearchBox.searchValue = this.currentSearchString;
return;
// "this" is the textbox, not the popup
if (this.mSearchInputTO)
window.clearTimeout(this.mSearchInputTO);
@ -139,21 +136,13 @@
<property name="mInputTimeout"><![CDATA[
(function(me) {
me.resultsPopup.mSearchBox.searchValue = me.currentSearchString;
me.resultsPopup.mSearchBox.searchValue = me.value;
me.mSearchInputTO = 0;
});
]]></property>
<property name="mEnginesReady">false</property>
<!-- initialize the columns in the outliner -->
<method name="initColumns">
<body><![CDATA[
this.addColumn({id: "value", flex: 2});
this.addColumn({id: "comment", flex: 1});
]]></body>
</method>
<method name="getOverrideValue">
<body><![CDATA[
if (this.mSearchBox.selectedIndex != null)