Ticket #6566: 0001-Fix-bug-6566.patch

File 0001-Fix-bug-6566.patch, 887 bytes (added by sukhbir, 7 years ago)
  • src/chrome/content/preferences.js

    From e52a33f86626c909cf5c6bece608502322b67724 Mon Sep 17 00:00:00 2001
    From: Sukhbir Singh <sukhbir.in@gmail.com>
    Date: Fri, 22 Mar 2013 20:06:43 -0400
    Subject: [PATCH] Fix bug 6566
    
    ---
     src/chrome/content/preferences.js |    1 +
     1 files changed, 1 insertions(+), 0 deletions(-)
    
    diff --git a/src/chrome/content/preferences.js b/src/chrome/content/preferences.js
    index ddc1994..97ffb7d 100644
    a b function torbutton_prefs_save(doc) { 
    249249        var chrome = wm.getMostRecentWindow("navigator:browser");
    250250        var ret = chrome.torbutton_test_settings();
    251251        if (ret != 4) {
     252            var strings = torbutton_get_stringbundle();
    252253            var warning = strings.GetStringFromName("torbutton.popup.test.failure");
    253254            window.alert(warning);
    254255        } else {