Addresses #1037, Remove Firefox 2.0/3.0-specific code
This commit is contained in:
parent
84cf9d8cbe
commit
92383c7f20
|
@ -83,11 +83,8 @@ var Zotero_File_Interface_Bibliography = new function() {
|
||||||
selectIndex = 0;
|
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.ensureIndexIsVisible(selectIndex);
|
||||||
listbox.selectedIndex = selectIndex;
|
listbox.selectedIndex = selectIndex;
|
||||||
}, 1);
|
|
||||||
|
|
||||||
// ONLY FOR bibliography.xul: export options
|
// ONLY FOR bibliography.xul: export options
|
||||||
if(document.getElementById("save-as-rtf")) {
|
if(document.getElementById("save-as-rtf")) {
|
||||||
|
|
|
@ -55,8 +55,7 @@
|
||||||
<hbox flex="1">
|
<hbox flex="1">
|
||||||
<vbox align="stretch" flex="1">
|
<vbox align="stretch" flex="1">
|
||||||
<hbox align="center" pack="end">
|
<hbox align="center" pack="end">
|
||||||
<label value="&zotero.toolbar.search.label;" control="zotero-tb-search"/>
|
<textbox id="zotero-tb-search" type="search" timeout="250" oncommand="onSearch()" dir="reverse" tabindex="1"
|
||||||
<textbox id="zotero-tb-search" type="timed" 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;"/>
|
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>
|
||||||
<hbox flex="1" style="margin-top: 5px">
|
<hbox flex="1" style="margin-top: 5px">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user