diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-09-06 16:50:45 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-09-06 16:50:45 +0200 |
commit | 02d14aee17f4d433c28be389cfb1271c68529328 (patch) | |
tree | f0e02ee7b845bff79a6161dcd7305af1e83a8227 /core/js | |
parent | 4d04dd9c4c4e099b3fc1fa10753b2ca1d88a40a2 (diff) | |
download | nextcloud-server-02d14aee17f4d433c28be389cfb1271c68529328.tar.gz nextcloud-server-02d14aee17f4d433c28be389cfb1271c68529328.zip |
completely remove dialog on cancel/continue
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/oc-dialogs.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index 77af1a2dde5..fd77f5998b5 100644 --- a/core/js/oc-dialogs.js +++ b/core/js/oc-dialogs.js @@ -306,7 +306,7 @@ var OCdialogs = { if ( typeof controller.onCancel !== 'undefined') { controller.onCancel(data); } - $(dialog_id).ocdialog('close'); + $(dialog_id).ocdialog('destroy').remove(); } }, { @@ -318,6 +318,7 @@ var OCdialogs = { controller.onContinue($(dialog_id + ' .conflict:not(.template)')); } $(dialog_id).ocdialog('close'); + $(dialog_id).ocdialog('destroy').remove(); } }]; |