summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTrent <trentdrichardson@gmail.com>2015-04-14 08:40:36 -0400
committerTrent <trentdrichardson@gmail.com>2015-04-14 08:40:36 -0400
commit439a9a11ca4f3941ae439f46da2bfeb8caadd9d7 (patch)
tree11cec1356405cf1d70844b78ee850456340a0f0b /src
parentec1d5e8fd7f1f5beec5995a91e5157b4fea574c1 (diff)
downloadjQuery-Timepicker-Addon-439a9a11ca4f3941ae439f46da2bfeb8caadd9d7.zip
jQuery-Timepicker-Addon-439a9a11ca4f3941ae439f46da2bfeb8caadd9d7.tar.gz
jQuery-Timepicker-Addon-439a9a11ca4f3941ae439f46da2bfeb8caadd9d7.tar.bz2
#799 - @CoryDuncan - "Now" button does not update calendar selected date
Diffstat (limited to 'src')
-rw-r--r--src/jquery-ui-timepicker-addon.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jquery-ui-timepicker-addon.js b/src/jquery-ui-timepicker-addon.js
index a9af400..b156de8 100644
--- a/src/jquery-ui-timepicker-addon.js
+++ b/src/jquery-ui-timepicker-addon.js
@@ -1554,12 +1554,12 @@
$.datepicker._gotoToday = function (id) {
var inst = this._getInst($(id)[0]),
$dp = inst.dpDiv;
- this._base_gotoToday(id);
var tp_inst = this._get(inst, 'timepicker');
selectLocalTimezone(tp_inst);
var now = new Date();
this._setTime(inst, now);
this._setDate(inst, now);
+ this._base_gotoToday(id);
};
/*