Fix bug 415509 - [Trunk] Only the last event of a day is selectable by mouse click in day/weekview. r=berend
authorPhilipp Kewisch <mozilla@kewis.ch>
Wed, 22 Oct 2008 11:41:42 +0200
changeset 684 b07444ad2c523d823c3abd4fbf83ff974c32e562
parent 683 b22da03722e45cc2cbe641385a3fb21a188d9ee0
child 685 bf0a9456e1376ecdf39a75d24b28bb4be0095b2b
push id611
push usermozilla@kewis.ch
push dateWed, 22 Oct 2008 09:44:04 +0000
treeherdercomm-central@b07444ad2c52 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersberend
bugs415509
Fix bug 415509 - [Trunk] Only the last event of a day is selectable by mouse click in day/weekview. r=berend
calendar/base/content/calendar-multiday-view.xml
--- a/calendar/base/content/calendar-multiday-view.xml
+++ b/calendar/base/content/calendar-multiday-view.xml
@@ -261,17 +261,17 @@
   <!--
      - A column for displaying event boxes in.  One column per
      - day; it manages the layout of the events given via add/deleteEvent.
     -->
   <binding id="calendar-event-column">
     <content>
       <xul:stack anonid="boxstack" flex="1" style="min-width: 1px; min-height: 1px">
         <xul:box anonid="bgbox" flex="1" style="min-width: 1px; min-height: 1px"/>
-        <xul:box xbl:inherits="context" anonid="topbox" flex="1" equalsize="always" style="min-width: 1px; min-height: 1px"/>
+        <xul:box xbl:inherits="context" anonid="topbox" flex="1" equalsize="always" style="min-width: 1px; min-height: 1px" mousethrough="always"/>
         <xul:box anonid="fgbox" flex="1" class="fgdragcontainer" style="min-width: 1px; min-height: 1px; overflow:hidden;">
           <xul:box anonid="fgdragspacer" style="display: inherit; overflow: hidden;">
             <xul:spacer flex="1"/>
             <xul:label anonid="fgdragbox-startlabel" class="fgdragbox-label"/>
           </xul:box>
           <xul:box anonid="fgdragbox" class="fgdragbox" />
           <xul:label anonid="fgdragbox-endlabel" class="fgdragbox-label"/>
         </xul:box>
@@ -1943,17 +1943,17 @@
       ]]></handler>
     </handlers>
   </binding>
 
   <!--
      -  An individual event box, to be inserted into a column.
     -->
   <binding id="calendar-event-box" extends="chrome://calendar/content/calendar-view-core.xml#calendar-editable-item">
-    <content tooltip="itemTooltip">
+    <content tooltip="itemTooltip" mousethrough="never">
         <xul:box xbl:inherits="orient,width,height" flex="1">
           <xul:box anonid="event-container"
                    class="calendar-color-box"
                    xbl:inherits="orient,readonly,flashing,alarm,allday,priority,progress,status,calendar,categories,item-calendar"
                    flex="1">
             <xul:box class="calendar-event-selection" orient="horizontal" flex="1">
               <xul:stack anonid="eventbox"
                          align="stretch"