mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
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:
parent
22f84d54db
commit
65bdf8906b
@ -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>
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user