Vlad Kurkin (b_vladi) wrote in changelog,
Vlad Kurkin
b_vladi
changelog

[livejournal] r20659: LJSUP-10527: Doesn't work link for chang...

Committer: vkurkin
LJSUP-10527: Doesn't work link for change the date
U   trunk/htdocs/js/jquery/jquery.lj.entryDatePicker.js
Modified: trunk/htdocs/js/jquery/jquery.lj.entryDatePicker.js
===================================================================
--- trunk/htdocs/js/jquery/jquery.lj.entryDatePicker.js	2011-11-29 18:36:42 UTC (rev 20658)
+++ trunk/htdocs/js/jquery/jquery.lj.entryDatePicker.js	2011-11-30 09:01:12 UTC (rev 20659)
@@ -119,8 +119,8 @@
 				this.currentDate = new Date;
 				this._startTimer();
 			} else {
-				var timeParts = inputs.time.val().match(/([0-9]{1,2}):([0-9]{1,2})/),
-					inputs = this._dateInputs;
+				var inputs = this._dateInputs,
+					timeParts = inputs.time.val().match(/([0-9]{1,2}):([0-9]{1,2})/);
 
 				this.currentDate = new Date(
 					Number(inputs.date_ymd_yyyy.val()),

Tags: b_vladi, js, livejournal, vkurkin
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