From 372c8d3d574309358d6c3df832c54d1564965158 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Mon, 21 Jun 2010 17:49:47 +0200 Subject: [PATCH] Close color picker when saving the calendar. --- kronolith/js/kronolith.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index 64cb6c265..ceb2d3e51 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -3325,6 +3325,9 @@ KronolithCore = { */ saveCalendar: function(form) { + if (this.colorPicker) { + this.colorPicker.hide(); + } var data = form.serialize({ hash: true }); if (data.name.empty()) { this.showNotifications([ { type: 'horde.warning', message: data.type == 'tasklists' ? Kronolith.text.no_tasklist_title : Kronolith.text.no_calendar_title }]); -- 2.11.0