Bug 806124 - Services undefined (but used) in connection.js. r=mconley,a=Standard8
authorMagnus Melin <mkmelin+mozilla@iki.fi>
Sat, 27 Oct 2012 22:14:51 +0300
changeset 12558 71139f1af016ee862f398c7303e2b9db8dcc7529
parent 12557 5a84996bc6cb115bdb01722caf16986c2992ab7d
child 12559 82bfb8f75a28e08dc61773a013f14ad48bd5038d
push id785
push userbugzilla@standard8.plus.com
push dateTue, 13 Nov 2012 12:27:14 +0000
treeherdercomm-aurora@71139f1af016 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley, Standard8
bugs806124
Bug 806124 - Services undefined (but used) in connection.js. r=mconley,a=Standard8
mail/components/preferences/connection.js
--- a/mail/components/preferences/connection.js
+++ b/mail/components/preferences/connection.js
@@ -1,13 +1,15 @@
 /* -*- Mode: Javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+Components.utils.import("resource://gre/modules/Services.jsm");
+
 var gConnectionsDialog = {
   beforeAccept: function ()
   {
     var proxyTypePref = document.getElementById("network.proxy.type");
     if (proxyTypePref.value == 2) {
       this.doAutoconfigURLFixup();
       return true;
     }