Changeset 35a6b3


Ignore:
Timestamp:
Aug 2, 2014, 4:28:41 PM (5 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
21bab3
Parents:
79a089
Message:

fixed show/hide of smtp-selector

File:
1 edited

Legend:

Unmodified
Added
Removed
  • content/bindings/v_identity.xml

    r79a089 r35a6b3  
    339339        // document.getElementById("virtualIdentityExtension_tooltipPopupset").addTooltip(this, false);
    340340       
    341         virtualIdentityExtension.vIprefs.addObserver("extensions.virtualIdentity.show_smtp", this.observe, this);
     341        virtualIdentityExtension.vIprefs.addObserver("show_smtp", this.observe, this);
    342342        this.observe(this);
    343343        ]]>
     
    347347        var tooltipPopupset = document.getElementById("virtualIdentityExtension_tooltipPopupset")
    348348        if (tooltipPopupset) tooltipPopupset.removeTooltip(this.tooltipElem.getAttribute("tooltip"));
    349         virtualIdentityExtension.vIprefs.removeObserver("extensions.virtualIdentity.show_smtp", this.observe);
     349        virtualIdentityExtension.vIprefs.removeObserver("show_smtp", this.observe);
    350350        ]]>
    351351    </destructor>
     
    609609      <parameter name="aTopic" />
    610610      <parameter name="aPrefName" />
    611       <![CDATA[
     611      <body><![CDATA[
    612612        self.showSmtp =
    613613          virtualIdentityExtension.vIprefs.get("show_smtp");
     
    617617            MenuItems[j].smtpStyle = "width:" + document.getElementById("virtualIdentityExtension_SmtpServerList").clientWidth + "px;";
    618618        }
    619     ]]></method>
     619        ]]></body>
     620    </method>
    620621    <property name="email" onset="this.identityData.email = val; this.label = this.identityData.combinedName; this.inputEvent()" />
    621622    <property name="vid" onget="return (this.getAttribute('vid') == 'true');" onset="this.setAttribute('vid',val?'true':'false'); return val;" />
Note: See TracChangeset for help on using the changeset viewer.