Fix bug 466979 - Clicking on the "Today" button in the minimonth doesn't refresh the calendar view. r=philipp
authorPrzemyslaw Bialik <firefox@poczta.neostrada.pl>
Sun, 15 Mar 2009 15:17:31 +0100
changeset 2218 3096bf930f589594270d951a0e791eabb1420b8f
parent 2217 4b60f4ade2cab6c30cfcc9b202adc46957f6cf38
child 2219 76ba383d1098de63a43e548ce3694e6c2c379c1f
push id1792
push usermozilla@kewis.ch
push dateSun, 15 Mar 2009 14:17:43 +0000
treeherdercomm-central@3096bf930f58 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersphilipp
bugs466979
Fix bug 466979 - Clicking on the "Today" button in the minimonth doesn't refresh the calendar view. r=philipp
calendar/base/content/widgets/minimonth.xml
--- a/calendar/base/content/widgets/minimonth.xml
+++ b/calendar/base/content/widgets/minimonth.xml
@@ -124,17 +124,17 @@
                             class="minimonth-year-name"
                             oncommand="showPopupList(event, 'years-popup')"
                             xbl:inherits="label=year"/>
          <xul:spacer flex="1"/>
          <xul:toolbarbutton anonid="left-button" class="minimonth-nav-btns" dir="-1"
                             oncommand="this.kMinimonth.advanceMonth(parseInt(this.getAttribute('dir'), 10))"
                             tooltiptext="&onemonthbackward.tooltip;"/>
          <xul:toolbarbutton anonid="today-button" class="minimonth-nav-btns" dir="0"
-                            oncommand="this.kMinimonth.selectDate(new Date());"
+                            oncommand="this.kMinimonth.value = new Date();"
                             tooltiptext="&showToday.tooltip;"/>
          <xul:toolbarbutton anonid="right-button" class="minimonth-nav-btns" dir="1"
                             oncommand="this.kMinimonth.advanceMonth(parseInt(this.getAttribute('dir'), 10))"
                             tooltiptext="&onemonthforward.tooltip;"/>
        <xul:popupset anonid="minmonth-popupset">
          <xul:popup anonid="months-popup" position="after_start"
                     onpopupshowing="event.stopPropagation();"
                     onpopuphidden="firePopupListHidden();">