[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] [torbutton/master 46/47] Bug 1941: Fix selection for search radiobutton.
Author: Mike Perry <mikeperry-git@xxxxxxxxxx>
Date: Thu, 30 Sep 2010 08:04:58 -0700
Subject: Bug 1941: Fix selection for search radiobutton.
Commit: a9cab0f3e858d9a46a495941228d1cd7e8c01aac
---
src/chrome/content/preferences.js | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/chrome/content/preferences.js b/src/chrome/content/preferences.js
index 27f4e0d..c4ae23f 100644
--- a/src/chrome/content/preferences.js
+++ b/src/chrome/content/preferences.js
@@ -290,6 +290,10 @@ function torbutton_prefs_init(doc) {
doc.getElementById("torbutton_searchEngine").selectedItem =
doc.getElementById('torbutton_engine4');
break;
+ case 5:
+ doc.getElementById("torbutton_searchEngine").selectedItem =
+ doc.getElementById('torbutton_engine5');
+ break;
}
doc.getElementById('torbutton_noCaptcha').checked = o_torprefs.getBoolPref('dodge_google_captcha');
--
1.7.1