mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
add datepicker alert correlation
This commit is contained in:
parent
624a1e0086
commit
17e7710f45
@ -474,3 +474,23 @@ function disabled_alert(settings) {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function datetime_picker_callback(set) {
|
||||
$("#text-time_from, #text-time_to").timepicker({
|
||||
showSecond: true,
|
||||
timeFormat: set.timeFormat,
|
||||
timeOnlyTitle: set.timeOnlyTitle,
|
||||
timeText: set.timeText,
|
||||
hourText: set.hourText,
|
||||
minuteText: set.minuteText,
|
||||
secondText: set.secondText,
|
||||
currentText: set.currentText,
|
||||
closeText: set.closeText
|
||||
});
|
||||
|
||||
$("#text-date_from, #text-date_to").datepicker({
|
||||
dateFormat: set.dateFormat
|
||||
});
|
||||
|
||||
$.datepicker.setDefaults($.datepicker.regional[set.regional]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user