summaryrefslogtreecommitdiffstats
path: root/jquery-ui-timepicker-addon.js
diff options
context:
space:
mode:
authorkeithnicholson <knicholson@ksdynamics.com>2012-08-28 10:50:00 -0500
committerkeithnicholson <knicholson@ksdynamics.com>2012-08-28 10:50:00 -0500
commit559722561fb3d2488c9e8e23e89e1e728549244e (patch)
tree355d63414de6dd7f03ed216d8701d4f8d3e65de2 /jquery-ui-timepicker-addon.js
parentb7c99d12ea6e35a17ebf6e80ab0ee1ca0a6fa40d (diff)
downloadjQuery-Timepicker-Addon-559722561fb3d2488c9e8e23e89e1e728549244e.zip
jQuery-Timepicker-Addon-559722561fb3d2488c9e8e23e89e1e728549244e.tar.gz
jQuery-Timepicker-Addon-559722561fb3d2488c9e8e23e89e1e728549244e.tar.bz2
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.
Diffstat (limited to 'jquery-ui-timepicker-addon.js')
-rw-r--r--jquery-ui-timepicker-addon.js2
1 files changed, 1 insertions, 1 deletions
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.