Close events export dialog on Export (#5432)

This commit is contained in:
Aleksander Machniak 2016-05-20 06:14:24 -04:00
parent 29c5c502db
commit 39a1267abc

View file

@ -3054,7 +3054,6 @@ function rcube_calendar_ui(settings)
buttons: buttons, buttons: buttons,
width: 520 width: 520
}).show(); }).show();
}; };
// callback from server if import succeeded // callback from server if import succeeded
@ -3112,6 +3111,7 @@ function rcube_calendar_ui(settings)
rcmail.goto_url('export_events', { source:source, start:start, attachments:attachmt?1:0 }); rcmail.goto_url('export_events', { source:source, start:start, attachments:attachmt?1:0 });
} }
$dialog.dialog("close");
}; };
buttons[rcmail.gettext('cancel', 'calendar')] = function() { buttons[rcmail.gettext('cancel', 'calendar')] = function() {
@ -3134,7 +3134,6 @@ function rcube_calendar_ui(settings)
buttons: buttons, buttons: buttons,
width: 520 width: 520
}).show(); }).show();
}; };
// download the selected event as iCal // download the selected event as iCal