#11763: Double clicking OK button after proxy change disables all security 
settings
----------------------------------+-----------------------
     Reporter:  scissors          |      Owner:  mikeperry
         Type:  defect            |     Status:  new
     Priority:  normal            |  Milestone:
    Component:  TorBrowserButton  |    Version:
   Resolution:                    |   Keywords:
Actual Points:                    |  Parent ID:
       Points:                    |
----------------------------------+-----------------------

Comment (by cypherpunks):

 {{{
 --- preferences.js
 +++ preferences.js.modified
 @@ -189,6 +189,7 @@
  }

  function torbutton_prefs_save(doc) {
 +    doc.documentElement.getButton("accept").disabled = true;
      torbutton_log(2, "called prefs_save()");
      var o_torprefs = torbutton_get_prefbranch('extensions.torbutton.');
      var o_customprefs =
 torbutton_get_prefbranch('extensions.torbutton.custom.');
 }}}
 This kludge should to prevent races.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11763#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Reply via email to