From: Jan Schneider Date: Mon, 21 Jun 2010 15:49:47 +0000 (+0200) Subject: Close color picker when saving the calendar. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=372c8d3d574309358d6c3df832c54d1564965158;p=horde.git Close color picker when saving the calendar. --- 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 }]);