Committer: dpetrov
LJSUP-12666: Calendar works incorrectU trunk/htdocs/js/jquery/jquery.lj.inlineCalendar.js
Modified: trunk/htdocs/js/jquery/jquery.lj.inlineCalendar.js =================================================================== --- trunk/htdocs/js/jquery/jquery.lj.inlineCalendar.js 2012-07-09 11:05:02 UTC (rev 12243) +++ trunk/htdocs/js/jquery/jquery.lj.inlineCalendar.js 2012-07-09 11:54:09 UTC (rev 12244) @@ -516,6 +516,7 @@ this._nodes.root.trigger( event, [ date, LJ.Util.Date.format(date, this.options.dateFormat) ] ); this._setOption( 'displayedMonth', value ); + this._invalidateDisplay(); break; case 'activeFrom': this.options.activeFrom = new Date( value ); @@ -543,6 +544,7 @@ this._nodes.yearSelect.val(this.options.displayedMonth.getFullYear()); this._invalidateDisplay(); } + break; case 'startMonth': this.options.startMonth = new Date( value );