Backed out changeset ac5088aa887e (bug 466979)
authorMartin Schroeder <mschroeder@mozilla.x-home.org>
Tue, 27 Jan 2009 12:31:46 +0100
changeset 1766 2e3bd45d1468b6a7a560d7cedf0f1e9f7b4dd280
parent 1765 6881e0277872520ffc647c1c91d70e7d27a9fc81
child 1767 7ebc039a89cc338ea89f2158d64a3d9d7bcf8fde
push id1420
push usermschroeder@mozilla.x-home.org
push dateTue, 27 Jan 2009 11:32:17 +0000
treeherdercomm-central@2e3bd45d1468 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs466979
backs outac5088aa887e7bfa29240f2ea6db6a3fcaee5f9d
Backed out changeset ac5088aa887e (bug 466979)
calendar/base/content/widgets/minimonth.xml
--- a/calendar/base/content/widgets/minimonth.xml
+++ b/calendar/base/content/widgets/minimonth.xml
@@ -124,18 +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="var d = new Date(); this.kMinimonth.selectDate(d);
-                                       this.kMinimonth.dayClicked(this.kMinimonth.getBoxForDate(d));"
+                            oncommand="this.kMinimonth.selectDate(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();">