Browse Source

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

Destroy modal when closed
pull/6854/head
Julius Härtl 8 years ago
committed by GitHub
parent
commit
be71ce32dc
  1. 4
      core/js/jquery.ocdialog.js

4
core/js/jquery.ocdialog.js

@ -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…
Cancel
Save