Skip to content
Snippets Groups Projects
Commit 75bc40f7 authored by Thomas Bille's avatar Thomas Bille Committed by Thomas Bille
Browse files

Destroy modal when closed


Signed-off-by: default avatarThomas Bille <contact@tbille.fr>
parent 59c3ea91
No related branches found
No related tags found
No related merge requests found
......@@ -212,8 +212,10 @@
// Ugly hack to catch remaining keyup events.
setTimeout(function() {
self._trigger('close', self);
self.$dialog.hide();
}, 200);
self.$dialog.remove();
this.destroy();
},
destroy: function() {
if(this.$title) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment