summaryrefslogtreecommitdiffstats
path: root/core/js/oc-dialogs.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/oc-dialogs.js')
-rw-r--r--core/js/oc-dialogs.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js
index 7c4483cefcf..dc293f949c1 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();
}
}];