mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
close and destroy dialog on ESC
This commit is contained in:
parent
00cc83e3f7
commit
0a0410815e
1 changed files with 4 additions and 1 deletions
|
|
@ -387,7 +387,10 @@ var OCdialogs = {
|
|||
closeOnEscape: true,
|
||||
modal: true,
|
||||
buttons: buttonlist,
|
||||
closeButton: null
|
||||
closeButton: null,
|
||||
close: function(event, ui) {
|
||||
$(this).ocdialog('destroy').remove();
|
||||
}
|
||||
});
|
||||
|
||||
$(dialog_id).css('height','auto');
|
||||
|
|
|
|||
Loading…
Reference in a new issue