Bug 1489736 - Remove mail-toggle-headerfield binding. r=mkmelin
authorArshad Khan <arshdkhn1@gmail.com>
Sat, 08 Sep 2018 13:03:05 +0530
changeset 33147 428645c8b28ee2ebbd2e1daa71f8a721f61c0d90
parent 33146 779d0a64b2dddc27f05c2412be52271a4cf83252
child 33148 760fa56f28063ce0a99d8b2767ff78a9933c52be
push id387
push userclokep@gmail.com
push dateMon, 10 Dec 2018 21:30:47 +0000
reviewersmkmelin
bugs1489736
Bug 1489736 - Remove mail-toggle-headerfield binding. r=mkmelin
mail/base/content/mailWidgets.xml
mail/base/content/messenger.css
--- a/mail/base/content/mailWidgets.xml
+++ b/mail/base/content/mailWidgets.xml
@@ -445,29 +445,16 @@
                              event.altKey, event.shiftKey, event.metaKey, null);
         this.dispatchEvent(evt);
       ]]></handler>
     </handlers>
   </binding>
 
   <!-- Message Pane Widgets -->
 
-  <!-- mail-toggle-headerfield: Non-email addrs headers which have a toggle
-       associated with them (i.e. the subject).
-       Use headerValue to set the header value. -->
-  <binding id="mail-toggle-headerfield">
-    <content>
-      <xul:textbox class="headerValue" anonid="headerValue" flex="1" readonly="true"/>
-    </content>
-
-    <implementation>
-      <property name="headerValue" onset="return document.getAnonymousElementByAttribute(this, 'anonid', 'headerValue').value = val;"/>
-    </implementation>
-  </binding>
-
   <!-- mail-headerfield: presents standard text header name & value pairs. Don't use this for email addresses.
        use headerValue to set the header value. -->
   <binding id="mail-headerfield">
     <content>
       <xul:description class="headerValue" anonid="headerValue"
                        flex="1" readonly="true" context="copyPopup"
                        role="textbox" aria-readonly="true"/>
     </content>
--- a/mail/base/content/messenger.css
+++ b/mail/base/content/messenger.css
@@ -39,20 +39,16 @@ mail-emailaddress {
 .emailPopup {
   -moz-user-focus: normal;
 }
 
 mail-emailheaderfield {
   -moz-binding: url("chrome://messenger/content/mailWidgets.xml#mail-emailheaderfield");
 }
 
-mail-toggle-headerfield {
-  -moz-binding: url("chrome://messenger/content/mailWidgets.xml#mail-toggle-headerfield");
-}
-
 mail-multi-emailHeaderField {
   -moz-binding: url("chrome://messenger/content/mailWidgets.xml#mail-multi-emailHeaderField");
 }
 
 mail-newsgroup {
   -moz-binding: url("chrome://messenger/content/mailWidgets.xml#mail-newsgroup");
 }