commit 92383c7f20ea2a866c1bef0fc1740366ae9df9ce
parent 84cf9d8cbe6935999b2dfbb1f2e8d7f8ec1cccc2
Author: Dan Stillman <dstillman@zotero.org>
Date: Fri, 9 Jul 2010 20:25:17 +0000
Addresses #1037, Remove Firefox 2.0/3.0-specific code
Diffstat:
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/chrome/content/zotero/bibliography.js b/chrome/content/zotero/bibliography.js
@@ -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")) {
diff --git a/chrome/content/zotero/integration/addCitationDialog.xul b/chrome/content/zotero/integration/addCitationDialog.xul
@@ -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">