Bug 908651 - Fix collapsing chat windows when resizing sidebar. r=markh, a=bajaj
authorShane Caraveo <scaraveo@mozilla.com>
Wed, 28 Aug 2013 18:56:17 -0700
changeset 153910 669f7ea493b01e26789f9d56092cd57adfd0b087
parent 153909 d834dfe34a299654e6a48311d37bd5c5b30d1cb5
child 153911 21545bbe54a8d026b84773720048485aa5178ec7
push id2859
push userakeybl@mozilla.com
push dateMon, 16 Sep 2013 19:14:59 +0000
treeherdermozilla-beta@87d3c51cd2bf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmarkh, bajaj
bugs908651
milestone25.0a2
Bug 908651 - Fix collapsing chat windows when resizing sidebar. r=markh, a=bajaj
browser/base/content/socialchat.xml
--- a/browser/base/content/socialchat.xml
+++ b/browser/base/content/socialchat.xml
@@ -615,17 +615,17 @@
         }
         // else: achievement unlocked - we are pixel-perfect!
         ]]></body>
       </method>
 
       <method name="handleEvent">
         <parameter name="aEvent"/>
         <body><![CDATA[
-          if (aEvent.type == "resize" && aEvent.eventPhase == aEvent.AT_TARGET) {
+          if (aEvent.type == "resize" && aEvent.eventPhase == aEvent.BUBBLING_PHASE) {
             this.resize();
           }
         ]]></body>
       </method>
 
       <method name="_getDragTarget">
         <parameter name="event"/>
         <body><![CDATA[