diff options
| author | Luc Donnet | 2014-08-20 11:25:58 +0200 |
|---|---|---|
| committer | Luc Donnet | 2014-08-20 11:25:58 +0200 |
| commit | 3bc81cb294d1453326d6e8fc86183ba651c5307c (patch) | |
| tree | d28659e062d452c19eba3223ea8ab5c477c2e846 /app/assets/javascripts | |
| parent | 824f721868554bcb3b890175b04af72b610f574f (diff) | |
| download | chouette-core-3bc81cb294d1453326d6e8fc86183ba651c5307c.tar.bz2 | |
Fix css for time in access_link and access_point
Diffstat (limited to 'app/assets/javascripts')
| -rw-r--r-- | app/assets/javascripts/plugins/bootstrap_timepicker_activation.coffee | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/app/assets/javascripts/plugins/bootstrap_timepicker_activation.coffee b/app/assets/javascripts/plugins/bootstrap_timepicker_activation.coffee index bfa7c5587..9945022bc 100644 --- a/app/assets/javascripts/plugins/bootstrap_timepicker_activation.coffee +++ b/app/assets/javascripts/plugins/bootstrap_timepicker_activation.coffee @@ -1,8 +1,16 @@ jQuery -> if(!(Modernizr.inputtypes && Modernizr.inputtypes.time)) - $('input[type="time"]').timepicker( + $('.timepicker_basic').timepicker( template: false, showInputs: false, minuteStep: 1, showMeridian: false, - )
\ No newline at end of file + ) + $('.timepicker_seconds').timepicker( + template: false, + showInputs: false, + minuteStep: 1, + secondStep: 1, + showMeridian: false, + showSeconds: true + )
\ No newline at end of file |
