diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-08-14 17:49:45 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-08-14 17:49:45 +0200 |
commit | 9da49264ea6edbad13455a3e66d7f369f2e8448f (patch) | |
tree | cb7a660e62f894f689dc933391b0e53fccc7c112 /core/js/jquery.ocdialog.js | |
parent | e1927d5bee11b561a293a9488bd27d90c2c043e6 (diff) | |
download | nextcloud-server-9da49264ea6edbad13455a3e66d7f369f2e8448f.tar.gz nextcloud-server-9da49264ea6edbad13455a3e66d7f369f2e8448f.zip |
change filelist ui updates
Diffstat (limited to 'core/js/jquery.ocdialog.js')
-rw-r--r-- | core/js/jquery.ocdialog.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/core/js/jquery.ocdialog.js b/core/js/jquery.ocdialog.js index 52ff5633f9a..ce991052271 100644 --- a/core/js/jquery.ocdialog.js +++ b/core/js/jquery.ocdialog.js @@ -40,6 +40,9 @@ } // Escape if(event.keyCode === 27 && self.options.closeOnEscape) { + if (self.closeCB) { + self.closeCB(); + } self.close(); return false; } @@ -190,7 +193,7 @@ } }, widget: function() { - return this.$dialog + return this.$dialog; }, close: function() { this._destroyOverlay(); @@ -203,10 +206,10 @@ }, destroy: function() { if(this.$title) { - this.$title.remove() + this.$title.remove(); } if(this.$buttonrow) { - this.$buttonrow.remove() + this.$buttonrow.remove(); } if(this.originalTitle) { |