[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torbirdy/develop] Fix name.



commit 9ea891ff0819ece07418cde374b97923a0dde2a1
Author: anonym <anonym@xxxxxxxxxx>
Date:   Wed Mar 9 14:00:24 2016 +0100

    Fix name.
    
    This method does not necessarily disable the wizard.
---
 chrome/content/emailwizard.js  | 4 ++--
 chrome/content/emailwizard.xul | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/chrome/content/emailwizard.js b/chrome/content/emailwizard.js
index f3f1abd..e17bbd1 100644
--- a/chrome/content/emailwizard.js
+++ b/chrome/content/emailwizard.js
@@ -12,7 +12,7 @@ if(!org.torbirdy.emailwizard) org.torbirdy.emailwizard = new function() {
     disableWizard = true;
   }
 
-  pub.disableAutoWizard = function() {
+  pub.adjustAutoWizard = function() {
     if (!disableWizard) {
       var realname = document.getElementById("realname").value;
       var email = document.getElementById("email").value;
@@ -117,7 +117,7 @@ if(!org.torbirdy.emailwizard) org.torbirdy.emailwizard = new function() {
     if (keycode == 13) {
       if (document.getElementById("next_button").disabled === false) {
         if (!disableWizard) {
-          pub.disableAutoWizard();
+          pub.adjustAutoWizard();
         }
         else {
           gEmailConfigWizard.onNext();
diff --git a/chrome/content/emailwizard.xul b/chrome/content/emailwizard.xul
index 72fad2a..f3a9c60 100644
--- a/chrome/content/emailwizard.xul
+++ b/chrome/content/emailwizard.xul
@@ -9,7 +9,7 @@
   </stringbundleset>
 
   <button id="next_button"
-      oncommand="org.torbirdy.emailwizard.disableAutoWizard();" />
+      oncommand="org.torbirdy.emailwizard.adjustAutoWizard();" />
 
   <vbox id="mastervbox" flex="1">
     <groupbox id="torbirdy-protocol-box" class="indent" insertafter="initialSettings">



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits