From f5e00a59f7511fac99e3588b1801eb317bf301dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Thu, 5 Sep 2013 18:41:51 +0200 Subject: [PATCH] // --- js/admin-dashboard.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/admin-dashboard.js b/js/admin-dashboard.js index 03239b1ec..a1a166182 100644 --- a/js/admin-dashboard.js +++ b/js/admin-dashboard.js @@ -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(''+no_results_translation+''); } -} \ No newline at end of file +}