Backed out changeset ac5088aa887e (
bug 466979)
--- 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();">