Bug 1318537 - Remove Learn More link from the insecure login field autocomplete popup. r=seanlee
MozReview-Commit-ID: KbRokkIr8DE
--- a/toolkit/content/widgets/autocomplete.xml
+++ b/toolkit/content/widgets/autocomplete.xml
@@ -1469,17 +1469,16 @@ extends="chrome://global/content/binding
<xul:vbox class="ac-title"
align="left"
xbl:inherits="">
<xul:description class="ac-text-overflow-container">
<xul:description anonid="title-text"
class="ac-title-text"
xbl:inherits="selected"/>
</xul:description>
- <xul:label id="learnMoreLink" align="left" class="text-link"/>
</xul:vbox>
<xul:hbox anonid="tags"
class="ac-tags"
align="center"
xbl:inherits="selected">
<xul:description class="ac-text-overflow-container">
<xul:description anonid="tags-text"
class="ac-tags-text"
@@ -1506,32 +1505,16 @@ extends="chrome://global/content/binding
xbl:inherits="selected,actiontype">
<xul:description class="ac-text-overflow-container">
<xul:description anonid="action-text"
class="ac-action-text"
xbl:inherits="selected"/>
</xul:description>
</xul:hbox>
</content>
- <implementation>
- <constructor><![CDATA[
- let learnMoreLink = document.getElementById("learnMoreLink");
- learnMoreLink.setAttribute("value", this._stringBundle.GetStringFromName("insecureFieldWarningLearnMore"));
- learnMoreLink.setAttribute("href", Services.urlFormatter.formatURLPref("app.support.baseURL") + "insecure-form-field-warning");
- ]]></constructor>
-
- <property name="_stringBundle">
- <getter><![CDATA[
- if (!this.__stringBundle) {
- this.__stringBundle = Services.strings.createBundle("chrome://passwordmgr/locale/passwordmgr.properties");
- }
- return this.__stringBundle;
- ]]></getter>
- </property>
- </implementation>
</binding>
<binding id="autocomplete-richlistitem" extends="chrome://global/content/bindings/richlistbox.xml#richlistitem">
<content align="center"
onoverflow="this._onOverflow();"
onunderflow="this._onUnderflow();">
<xul:image anonid="type-icon"