diff options
author | Julius Härtl <github@jus.li> | 2017-10-17 10:55:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-17 10:55:12 +0200 |
commit | be71ce32dcbe1856fe6e28cdfdfecfb399c6fb12 (patch) | |
tree | a02aa73b35f3b20c26c818e8d46602ba3f4d092b | |
parent | 59c3ea91fd42f00ba58fc35d5c49e1ea65435b8d (diff) | |
parent | 75bc40f7a08e11fc115e4986bb45fc314d49632a (diff) | |
download | nextcloud-server-be71ce32dcbe1856fe6e28cdfdfecfb399c6fb12.tar.gz nextcloud-server-be71ce32dcbe1856fe6e28cdfdfecfb399c6fb12.zip |
Merge pull request #5673 from tbille/gui-bug-authentication
Destroy modal when closed
-rw-r--r-- | core/js/jquery.ocdialog.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/js/jquery.ocdialog.js b/core/js/jquery.ocdialog.js index 555b35e59ff..f3a54119e78 100644 --- a/core/js/jquery.ocdialog.js +++ b/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) { |