[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [torbirdy/develop] Update fetching preference value for default protocol
commit 602b5d8f7d342ec86f3494791e65ecc5bfd097a6
Author: Sukhbir Singh <sukhbir@xxxxxxxxxxxxxx>
Date: Wed May 4 13:35:53 2016 -0400
Update fetching preference value for default protocol
---
chrome/content/emailwizard.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/emailwizard.js b/chrome/content/emailwizard.js
index 8218c1b..0223e7a 100644
--- a/chrome/content/emailwizard.js
+++ b/chrome/content/emailwizard.js
@@ -140,7 +140,7 @@ if(!org.torbirdy.emailwizard) org.torbirdy.emailwizard = new function() {
document.getElementById("provisioner_button").hidden = true;
// 0 is for POP3 (default), 1 is for IMAP. See emailwizard.xul and prefs.js.
- var selectProtocol = prefs.getIntPref("extensions.torbirdy.defaultprotocol")
+ var selectProtocol = Preferences.get("extensions.torbirdy.defaultprotocol")
document.getElementById("torbirdy-protocol").selectedIndex = selectProtocol;
};
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits