Addresses #1037, Remove Firefox 2.0/3.0-specific code

This commit is contained in:
Dan Stillman 2010-07-09 20:25:17 +00:00
parent 84cf9d8cbe
commit 92383c7f20
2 changed files with 3 additions and 7 deletions

View file

@ -83,11 +83,8 @@ var Zotero_File_Interface_Bibliography = new function() {
selectIndex = 0;
}
// Can't select below-the-fold listitems inline in Firefox 2, because that would be too easy
setTimeout(function () {
listbox.ensureIndexIsVisible(selectIndex);
listbox.selectedIndex = selectIndex;
}, 1);
listbox.ensureIndexIsVisible(selectIndex);
listbox.selectedIndex = selectIndex;
// ONLY FOR bibliography.xul: export options
if(document.getElementById("save-as-rtf")) {

View file

@ -55,8 +55,7 @@
<hbox flex="1">
<vbox align="stretch" flex="1">
<hbox align="center" pack="end">
<label value="&zotero.toolbar.search.label;" control="zotero-tb-search"/>
<textbox id="zotero-tb-search" type="timed" timeout="250" oncommand="onSearch()" dir="reverse" tabindex="1"
<textbox id="zotero-tb-search" type="search" timeout="250" oncommand="onSearch()" dir="reverse" tabindex="1"
onkeypress="if(event.keyCode == event.DOM_VK_ESCAPE) { if (this.value == '') { cancelDialog(); return false; } this.value = ''; this.doCommand('cmd_zotero_search'); return false; } return true;"/>
</hbox>
<hbox flex="1" style="margin-top: 5px">