summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas Jansson <niklas.jansson@nightflyers.org>2013-05-28 14:41:37 +0200
committerNiklas Jansson <niklas.jansson@nightflyers.org>2013-05-28 14:41:37 +0200
commit3e4d32910f3795e1c6d2e5e3c84daa4709dcf3d8 (patch)
treea8608e496674715b3b57d0d89a4ee7b6cc569dd1
parent18a7a6cb66bd9e7e11d78606aa11d1d9af64ddf7 (diff)
downloadjQuery-Timepicker-Addon-3e4d32910f3795e1c6d2e5e3c84daa4709dcf3d8.zip
jQuery-Timepicker-Addon-3e4d32910f3795e1c6d2e5e3c84daa4709dcf3d8.tar.gz
jQuery-Timepicker-Addon-3e4d32910f3795e1c6d2e5e3c84daa4709dcf3d8.tar.bz2
call limitMinMax when a control gets created
If you specified minDateTime the sliders wouldn't be updated with correct min/max values until you modified the date. This call make sure we updates the sliders min/max values at creation too
-rw-r--r--jquery-ui-timepicker-addon.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jquery-ui-timepicker-addon.js b/jquery-ui-timepicker-addon.js
index 91c4da0..d676eb4 100644
--- a/jquery-ui-timepicker-addon.js
+++ b/jquery-ui-timepicker-addon.js
@@ -543,6 +543,7 @@
}
// end slideAccess integration
+ tp_inst._limitMinMaxDateTime(this.inst, true);
}
},