projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
324e830
)
Added missing loading class
author
Alexander Ebert
<ebert@woltlab.com>
Fri, 25 Nov 2011 13:22:43 +0000
(14:22 +0100)
committer
Alexander Ebert
<ebert@woltlab.com>
Fri, 25 Nov 2011 13:22:43 +0000
(14:22 +0100)
wcfsetup/install/files/js/WCF.js
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/js/WCF.js
b/wcfsetup/install/files/js/WCF.js
index 596e198f07adf9a345240b063dd7243583e04b31..6c771c514665a8b4b9fe254c47568517a392a96b 100644
(file)
--- 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);
}