//
This commit is contained in:
1 parent
f5e00a59f7
commit
c35d8c7845
1 file changed
+3
-1
@@ -36,16 +36,18 @@ function refreshDashboard(use_push)
|
|||||||
{
|
{
|
||||||
module_list = new Array();
|
module_list = new Array();
|
||||||
|
|
||||||
if (!use_push && typeof(module_name) == 'undefined')
|
if (typeof(module_name) == 'undefined')
|
||||||
{
|
{
|
||||||
$('.widget').each( function () {
|
$('.widget').each( function () {
|
||||||
module_list.push($(this).attr('id'));
|
module_list.push($(this).attr('id'));
|
||||||
|
if (!use_push)
|
||||||
$(this).addClass('loading');
|
$(this).addClass('loading');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
module_list.push(module_name);
|
module_list.push(module_name);
|
||||||
|
if (!use_push)
|
||||||
$('#'+module_name+' section').each( function (){
|
$('#'+module_name+' section').each( function (){
|
||||||
$(this).addClass('loading');
|
$(this).addClass('loading');
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user