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 34022 2ef791acbdef73c9f28161a091010613fec526dc
parent 34021 7b1a013aaddbe105aeacc6f7bd7a103b74f8c185
child 34023 5725e65df3d5e403d67a61a10bfe9cbe1f60debf
push id389
push userclokep@gmail.com
push dateMon, 18 Mar 2019 19:01:53 +0000
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">