Bug 1300728 - Always open website url in header externally. r=IanN a=IanN
authorFrank-Rainer Grahl <frgrahl@gmx.net>
Tue, 18 Dec 2018 20:28:53 +0100
changeset 28302 15ca33ba27e7a6a6ab2fd0e723ef6b20fb399c00
parent 28301 5879f7bb3e5e9c70d473c71c4ec66a48c58e3d91
child 28303 0302cabf041a914d8c13c1d6984b7d68c098ebe9
child 28304 2cb6da32d02e059f48bfc73864855d057fa73b62
push id2127
push userfrgrahl@gmx.net
push dateTue, 18 Dec 2018 19:29:27 +0000
treeherdercomm-esr52@15ca33ba27e7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersIanN, IanN
bugs1300728
Bug 1300728 - Always open website url in header externally. r=IanN a=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">