- Fix UI issue with search box when text is entered (probably)
- Restore Fx3.0 quick search code
This commit is contained in:
parent
249e8fa857
commit
bdd7bd9beb
2 changed files with 7 additions and 2 deletions
|
@ -1489,7 +1489,9 @@ var ZoteroPane = new function()
|
|||
var searchVal = search.value;
|
||||
this.itemsView.setFilter('search', searchVal);
|
||||
|
||||
document.getElementById('zotero-tb-search-cancel').hidden = searchVal == "";
|
||||
if (Zotero.isFx30) {
|
||||
document.getElementById('zotero-tb-search-cancel').hidden = searchVal == "";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -243,7 +243,10 @@
|
|||
<label id="zotero-tb-search-label" value="&zotero.toolbar.search.label;" control="zotero-tb-search" hidden="true"/>
|
||||
<textbox id="zotero-tb-search" type="search" timeout="250" command="cmd_zotero_search" dir="reverse"
|
||||
onkeypress="ZoteroPane.handleSearchKeypress(this, event)"
|
||||
oninput="ZoteroPane.handleSearchInput(this, event)">
|
||||
oninput="ZoteroPane.handleSearchInput(this, event)"
|
||||
testcode="me.value.indexOf('"') == -1"
|
||||
prefire="ZoteroPane.clearItemsPaneMessage()"
|
||||
ontestfail="ZoteroPane.setItemsPaneMessage(Zotero.getString('advancedSearchMode'))">
|
||||
<toolbarbutton id="zotero-tb-search-cancel" oncommand="this.parentNode.value='';" hidden="true"/>
|
||||
</textbox>
|
||||
</hbox>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue