summaryrefslogtreecommitdiffstats
path: root/deluge/ui/web/js/deluge-all/UI.js
diff options
context:
space:
mode:
authorDamien Churchill <damoxc@gmail.com>2011-10-04 20:39:59 +0100
committerDamien Churchill <damoxc@gmail.com>2011-10-05 01:36:58 +0100
commit0c3d2322ccb832bf380cf3376f04e8303e1378ab (patch)
tree7c1dcdf51a7108ec919926ab55504ab487201bbb /deluge/ui/web/js/deluge-all/UI.js
parent07b6db0c9887214c1f1b0e5cf1fa5b6800b2bb07 (diff)
downloaddeluge-0c3d2322ccb832bf380cf3376f04e8303e1378ab.tar.gz
deluge-0c3d2322ccb832bf380cf3376f04e8303e1378ab.tar.bz2
deluge-0c3d2322ccb832bf380cf3376f04e8303e1378ab.zip
web: add loading mask
Add a loading mask that hides the loading of the interface with some text and a nice ajax spinner. The situation can be further improved by loading all of the scripts and other resources dynamically, which will be added later.
Diffstat (limited to 'deluge/ui/web/js/deluge-all/UI.js')
-rw-r--r--deluge/ui/web/js/deluge-all/UI.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/deluge/ui/web/js/deluge-all/UI.js b/deluge/ui/web/js/deluge-all/UI.js
index bab33294e..d7c710516 100644
--- a/deluge/ui/web/js/deluge-all/UI.js
+++ b/deluge/ui/web/js/deluge-all/UI.js
@@ -99,6 +99,8 @@ deluge.ui = {
deluge.client.on('connected', function(e) {
deluge.login.show();
+ Ext.get('loading').remove();
+ Ext.get('loading-mask').fadeOut({remove:true});
}, this, {single: true});
this.update = Ext.bind(this.update, this);