From 559722561fb3d2488c9e8e23e89e1e728549244e Mon Sep 17 00:00:00 2001 From: keithnicholson Date: Tue, 28 Aug 2012 10:50:00 -0500 Subject: [PATCH] Fixes #335, allowing dynamic changes to properties _injectTimePicker HTML was getting data only from the default or initially provided value. Changed one line to accept the settings that have been extended at the datepicker level. --- jquery-ui-timepicker-addon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery-ui-timepicker-addon.js b/jquery-ui-timepicker-addon.js index 2e59d6f..ba5b5ff 100644 --- a/jquery-ui-timepicker-addon.js +++ b/jquery-ui-timepicker-addon.js @@ -280,7 +280,7 @@ $.extend(Timepicker.prototype, { //######################################################################## _injectTimePicker: function() { var $dp = this.inst.dpDiv, - o = this._defaults, + o = this.inst.settings, tp_inst = this, // Added by Peter Medeiros: // - Figure out what the hour/minute/second max should be based on the step values.