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.
|
||||
setTimeout(function() {
|
||||
self._trigger('close', self);
|
||||
self.$dialog.hide();
|
||||
}, 200);
|
||||
|
||||
self.$dialog.remove();
|
||||
this.destroy();
|
||||
},
|
||||
destroy: function() {
|
||||
if(this.$title) {
|
||||
|
|
Loading…
Reference in New Issue