//
This commit is contained in:
@@ -36,7 +36,7 @@ function refreshDashboard(use_push)
|
|||||||
{
|
{
|
||||||
module_list = new Array();
|
module_list = new Array();
|
||||||
|
|
||||||
if (typeof(module_name) == 'undefined')
|
if (!use_push && typeof(module_name) == 'undefined')
|
||||||
{
|
{
|
||||||
$('.widget').each( function () {
|
$('.widget').each( function () {
|
||||||
module_list.push($(this).attr('id'));
|
module_list.push($(this).attr('id'));
|
||||||
@@ -168,4 +168,4 @@ function data_table(widget_name, data)
|
|||||||
else
|
else
|
||||||
$('#'+data_id+' tbody').html('<tr><td class="text-center" colspan="'+data[data_id].header.length+'">'+no_results_translation+'</td></tr>');
|
$('#'+data_id+' tbody').html('<tr><td class="text-center" colspan="'+data[data_id].header.length+'">'+no_results_translation+'</td></tr>');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user