From feda5d4b9261ec6163b283e302ddba468ed240fc Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 25 Nov 2011 14:22:43 +0100 Subject: [PATCH] Added missing loading class --- wcfsetup/install/files/js/WCF.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 596e198f07..6c771c5146 100644 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -3274,6 +3274,9 @@ $.widget('ui.wcfDialog', { // force open if using AJAX this.options.autoOpen = true; + + // apply loading overlay + this._content.addClass('overlayLoading'); } if (this.options.autoOpen) { @@ -3341,6 +3344,9 @@ $.widget('ui.wcfDialog', { * @param jQuery jqXHR */ _success: function(data, textStatus, jqXHR) { + // remove loading overlay + this._content.removeClass('overlayLoading'); + if (this.options.success !== null && $.isFunction(this.options.success)) { this.options.success(data, textStatus, jqXHR); } -- 2.20.1