summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Koppen <gk@torproject.org>2015-05-07 11:09:51 +0000
committerGeorg Koppen <gk@torproject.org>2015-05-07 11:09:58 +0000
commitd1ed854445b313c8539351820785981cda2bd37d (patch)
treeb2a3fa47e1f1594d6945ea86b17e16da16a60aa6
parentfecc621d6c3928918b4c62071f41ac2e4287e121 (diff)
Bug 15837: Show descriptions if unchecking custom modebug_15837
-rw-r--r--src/chrome/content/preferences.xul6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/chrome/content/preferences.xul b/src/chrome/content/preferences.xul
index d25fba41..dfc0f2e1 100644
--- a/src/chrome/content/preferences.xul
+++ b/src/chrome/content/preferences.xul
@@ -297,8 +297,12 @@
</vbox>
</hbox>
<hbox>
+ <!-- We are using |oncommand| instead of |onclick| as the former does
+ not fire if the checkbox is disabled and it does fire after the
+ checkbox adapted its state. -->
<checkbox id="torbutton_sec_custom" flex="1"
- label="&torbutton.prefs.sec_custom;"/>
+ oncommand="torbutton_set_slider_text(document, event.target.checked);"
+ label="&torbutton.prefs.sec_custom;"/>
</hbox>
</groupbox>
</vbox>