aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets/javascripts/plugins
diff options
context:
space:
mode:
authorMichel Etienne2014-08-20 11:15:06 +0200
committerMichel Etienne2014-08-20 11:15:06 +0200
commit32b0c11f377205168e4006efa46e31303a0e0cf5 (patch)
tree90c7c0a413cc1c69d656fea283ccea98226a90b6 /app/assets/javascripts/plugins
parent59a4755231bc3c13c93d8cd8032e729c97d9c45f (diff)
parent824f721868554bcb3b890175b04af72b610f574f (diff)
downloadchouette-core-32b0c11f377205168e4006efa46e31303a0e0cf5.tar.bz2
merged
Diffstat (limited to 'app/assets/javascripts/plugins')
-rw-r--r--app/assets/javascripts/plugins/bootstrap_timepicker_activation.coffee8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/assets/javascripts/plugins/bootstrap_timepicker_activation.coffee b/app/assets/javascripts/plugins/bootstrap_timepicker_activation.coffee
new file mode 100644
index 000000000..bfa7c5587
--- /dev/null
+++ b/app/assets/javascripts/plugins/bootstrap_timepicker_activation.coffee
@@ -0,0 +1,8 @@
+jQuery ->
+ if(!(Modernizr.inputtypes && Modernizr.inputtypes.time))
+ $('input[type="time"]').timepicker(
+ template: false,
+ showInputs: false,
+ minuteStep: 1,
+ showMeridian: false,
+ ) \ No newline at end of file