Merge pull request #5673 from tbille/gui-bug-authentication
Destroy modal when closed
This commit is contained in:
commit
be71ce32dc
|
@ -212,8 +212,10 @@
|
||||||
// Ugly hack to catch remaining keyup events.
|
// Ugly hack to catch remaining keyup events.
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
self._trigger('close', self);
|
self._trigger('close', self);
|
||||||
self.$dialog.hide();
|
|
||||||
}, 200);
|
}, 200);
|
||||||
|
|
||||||
|
self.$dialog.remove();
|
||||||
|
this.destroy();
|
||||||
},
|
},
|
||||||
destroy: function() {
|
destroy: function() {
|
||||||
if(this.$title) {
|
if(this.$title) {
|
||||||
|
|
Loading…
Reference in New Issue