can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[ljcom] r12244: LJSUP-12666: Calendar works incorrect

Committer: dpetrov
LJSUP-12666: Calendar works incorrect
U   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 );

Tags: can3p, dpetrov, js, ljcom
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments