Bug 670948 - Missed gLocSvc.pwd in dataman.xml r=KaiRo a=KaiRo for CLOSED TREE
authorIan Neal <iann_cvs@blueyonder.co.uk>
Mon, 25 Jul 2011 23:37:09 +0100
changeset 8306 1e274c1f9e3bd7631cbeb6ffca1876995f773a58
parent 8305 1aaea7153818aadf96207636cae23ca19f294d72
child 8307 5129a00ec84c5622f29d7704db9476eb2e690950
push idunknown
push userunknown
push dateunknown
reviewersKaiRo, KaiRo
bugs670948
Bug 670948 - Missed gLocSvc.pwd in dataman.xml r=KaiRo a=KaiRo for CLOSED TREE
suite/common/dataman/dataman.xml
--- a/suite/common/dataman/dataman.xml
+++ b/suite/common/dataman/dataman.xml
@@ -241,16 +241,15 @@
         <parameter name="aUIUpdateOnly"/>
         <body><![CDATA[
           this.capability = aValue;
           let radio = document.getAnonymousElementByAttribute(this, "anonid",
                                                               "permSetting-" + aValue);
           if (radio && !radio.selected)
             radio.radioGroup.selectedItem = radio;
           if (!aUIUpdateOnly)
-            gLocSvc.pwd.setLoginSavingEnabled(this.host,
-                                              aValue == Services.perms.ALLOW_ACTION);
+            Services.logins.setLoginSavingEnabled(this.host, aValue == Services.perms.ALLOW_ACTION);
         ]]></body>
       </method>
     </implementation>
   </binding>
 
 </bindings>