This commit is contained in:
Rémi Gaillard
2013-09-05 18:41:51 +02:00
parent 8868271c07
commit f5e00a59f7
+2 -2
View File
@@ -36,7 +36,7 @@ function refreshDashboard(use_push)
{
module_list = new Array();
if (typeof(module_name) == 'undefined')
if (!use_push && typeof(module_name) == 'undefined')
{
$('.widget').each( function () {
module_list.push($(this).attr('id'));
@@ -168,4 +168,4 @@ function data_table(widget_name, data)
else
$('#'+data_id+' tbody').html('<tr><td class="text-center" colspan="'+data[data_id].header.length+'">'+no_results_translation+'</td></tr>');
}
}
}