зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
b92c814071
Коммит
eb4dec0ac5
|
@ -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>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче