CC-1759
check duration is under 24 hours, colorpicker updates on drag, picker for duration without am/pm.
This commit is contained in:
parent
092b36c346
commit
48c1ce77b9
6 changed files with 55 additions and 7 deletions
|
@ -77,13 +77,20 @@ function setAddShowEvents() {
|
|||
createDateInput(end, endDpSelect);
|
||||
|
||||
$("#add_show_start_time").timepicker();
|
||||
$("#add_show_duration").timepicker({
|
||||
amPmText: ['', '']
|
||||
});
|
||||
|
||||
$("#add_show_hosts_autocomplete").autocomplete({
|
||||
source: findHosts,
|
||||
select: autoSelect
|
||||
select: autoSelect,
|
||||
delay: 200
|
||||
});
|
||||
|
||||
$("#schedule-show-style input").ColorPicker({
|
||||
onChange: function (hsb, hex, rgb, el) {
|
||||
$(el).val(hex);
|
||||
},
|
||||
onSubmit: function(hsb, hex, rgb, el) {
|
||||
$(el).val(hex);
|
||||
$(el).ColorPickerHide();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue