Merge pull request #5673 from tbille/gui-bug-authentication

Destroy modal when closed
This commit is contained in:
Julius Härtl 2017-10-17 10:55:12 +02:00 committed by GitHub
commit be71ce32dc
1 changed files with 3 additions and 1 deletions

View File

@ -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) {