Bug 1300728 - Always open website url in header externally. r=IanN
authorFrank-Rainer Grahl <frgrahl@gmx.net>
Tue, 18 Dec 2018 20:24:18 +0100
changeset 33168 2ef791acbdef
parent 33167 7b1a013aaddb
child 33169 5725e65df3d5
push id2368
push userclokep@gmail.com
push dateMon, 28 Jan 2019 21:12:50 +0000
treeherdercomm-beta@56d23c07d815 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersIanN
bugs1300728
Bug 1300728 - Always open website url in header externally. r=IanN
suite/mailnews/mailWidgets.xml
--- a/suite/mailnews/mailWidgets.xml
+++ b/suite/mailnews/mailWidgets.xml
@@ -198,17 +198,17 @@
   </binding>
 
   <binding id="mail-urlfield" extends="chrome://messenger/content/mailWidgets.xml#mail-headerfield">
     <content>
       <xul:hbox class="headerNameBox" align="start">
         <xul:label class="headerName" xbl:inherits="value=label" flex="1"/>
       </xul:hbox>
       <xul:hbox class="headerValueBox" flex="1" align="start">
-        <xul:label onclick="if (event.button != 2) openUILink(event.target.value, event);"
+        <xul:label onclick="if (event.button != 2) openAsExternal(event.target.value);"
                    ondragstart="this.parentNode.setDataTransfer(event);"
                    class="headerValue plain text-link headerValueUrl"
                  anonid="headerValue" flex="1" readonly="true" context="copyUrlPopup"/>
       </xul:hbox>
     </content>
 
     <implementation>
       <method name="setDataTransfer">