Clear dialog contents before closing: avoids iframe reloading (#387)
This commit is contained in:
parent
37cb27f2f3
commit
c12d9e2dad
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Reference in a new issue