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:
Francis Lachapelle
2012-09-21 22:05:07 -04:00
parent 0181ec606d
commit b15234c26e
19 changed files with 1348 additions and 620 deletions

View File

@@ -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