mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-14 17:58:51 +00:00
New date picker
Removed the old popup calendar (Tigra) by an inline version (bootstrap-datepicker). Also revamped the time picker and the dialog boxes to fit the new look.
This commit is contained in:
@@ -240,8 +240,8 @@ function initPreferences() {
|
||||
|
||||
button = $("enableVacationEndDate");
|
||||
if (button) {
|
||||
assignCalendar('vacationEndDate_date');
|
||||
button.on("change", function(event) {
|
||||
jQuery("#vacationEndDate_date").closest(".date").datepicker({autoclose: true, position: 'above'});
|
||||
button.on("click", function(event) {
|
||||
if (this.checked)
|
||||
$("vacationEndDate_date").enable();
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user