diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index 7c4483cefc..dc293f949c 100644 --- a/core/js/oc-dialogs.js +++ b/core/js/oc-dialogs.js @@ -366,7 +366,6 @@ var OCdialogs = { controller.onCancel(data); } $(dialog_id).ocdialog('close'); - $(dialog_id).ocdialog('destroy').remove(); } }, { @@ -378,7 +377,6 @@ var OCdialogs = { controller.onContinue($(dialog_id + ' .conflict:not(.template)')); } $(dialog_id).ocdialog('close'); - $(dialog_id).ocdialog('destroy').remove(); } }];