agenda: fixing datepickers buttons when editing an appointment

Closes #5024
This commit is contained in:
Serghei Mihai 2014-07-02 11:04:00 +02:00
parent 1f163e447e
commit 610f195f58
1 changed files with 1 additions and 0 deletions

View File

@ -280,6 +280,7 @@ function init_datepickers(dialog) {
function event_dialog(url, title, width, btn_text) {
function add_periodic_events(base) {
init_datepickers(base);
$(base).on('click', '.update-periodic-event', function () {
$('.ui-icon-closethick').click();
// remove the form from previous hidden layer in order to prevent two