port textbox fix for bug 197486:

callback method in textbox is no more, use oncommand instead for the same functionality.
This commit is contained in:
chanial%noos.fr 2003-08-17 11:17:00 +00:00
parent 22f84d54db
commit 65bdf8906b
4 changed files with 4 additions and 4 deletions

View File

@ -247,7 +247,7 @@
<label value="&search.label;" accesskey="&search.accesskey;" control="search-box"/>
<textbox id="search-box" flex="1"
type="timed" timeout="500"
callback="document.getElementById('bookmarks-view').searchBookmarks(document.getElementById('search-box').value)"/>
oncommand="document.getElementById('bookmarks-view').searchBookmarks(this.value)"/>
</toolbar>
</toolbox>

View File

@ -70,7 +70,7 @@
<label value="&search.label;" accesskey="&search.accesskey;" control="search-box"/>
<textbox id="search-box" flex="1"
type="timed" timeout="500"
callback="document.getElementById('bookmarks-view').searchBookmarks(document.getElementById('search-box').value)"/>
oncommand="document.getElementById('bookmarks-view').searchBookmarks(this.value)"/>
</hbox>
<bookmarks-tree id="bookmarks-view" type="single-column" flex="1"

View File

@ -84,7 +84,7 @@
<label value="&find.label;" accesskey="&find.accesskey;" control="search-box"/>
<textbox id="search-box" flex="1"
type="timed" timeout="500"
callback="searchHistory(gSearchBox.value);"/>
oncommand="searchHistory(gSearchBox.value);"/>
<toolbarbutton id="viewButton" type="menu" label="&view.label;" selectedsort="day" persist="selectedsort">
<menupopup>
<menuitem id="bydayandsite" label="&byDayAndSite.label;" accesskey="&byDayAndSite.accesskey;" type="radio"

View File

@ -74,7 +74,7 @@
<hbox align="center">
<label value="&filterPrefs.label;" accesskey="&filterPrefs.accesskey;" control="textbox"/>
<textbox id="textbox" flex="1" type="timed" timeout="500" callback="FilterPrefs();"/>
<textbox id="textbox" flex="1" type="timed" timeout="500" oncommand="FilterPrefs();"/>
<button id="button" label="&showAll.label;" accesskey="&showAll.accesskey;" oncommand="ClearFilter();" disabled="true"/>
</hbox>