Clear dialog contents before closing: avoids iframe reloading (#387)

This commit is contained in:
Thomas 2011-09-05 21:24:35 +02:00
parent 37cb27f2f3
commit c12d9e2dad

View file

@ -1662,7 +1662,7 @@ function rcube_calendar_ui(settings)
closeOnEscape: false, closeOnEscape: false,
title: rcmail.gettext((calendar.id ? 'editcalendar' : 'createcalendar'), 'calendar'), title: rcmail.gettext((calendar.id ? 'editcalendar' : 'createcalendar'), 'calendar'),
close: function() { close: function() {
$dialog.dialog("destroy").hide(); $dialog.html('').dialog("destroy").hide();
}, },
buttons: buttons, buttons: buttons,
minWidth: 400, minWidth: 400,