//remove class loading after widget filling
This commit is contained in:
1 parent
0cf96cd059
commit
f778b0da25
1 file changed
+4
@@ -39,8 +39,12 @@ function refreshDashbard()
|
|||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
success : function(widgets){
|
success : function(widgets){
|
||||||
for (var name in widgets)
|
for (var name in widgets)
|
||||||
|
{
|
||||||
for (data_type in widgets[name])
|
for (data_type in widgets[name])
|
||||||
window[data_type](widgets[name][data_type]);
|
window[data_type](widgets[name][data_type]);
|
||||||
|
$('#'+name).removeClass('loading');
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
error : function(data){
|
error : function(data){
|
||||||
alert("[TECHNICAL ERROR]");
|
alert("[TECHNICAL ERROR]");
|
||||||
|
|||||||
Reference in new issue
Block a user