diff --git a/var/www/static/js/indexjavascript.js b/var/www/static/js/indexjavascript.js index 5e5d477d..1f727f9b 100644 --- a/var/www/static/js/indexjavascript.js +++ b/var/www/static/js/indexjavascript.js @@ -1,6 +1,6 @@ var time_since_last_pastes_num = {}; var data_for_processed_paste = { "global": [] }; -var list_feeder = ["global"]; +var list_feeder = []; var htmltext_graph_container = "
"; window.paste_num_tabvar_all = {}; @@ -134,8 +134,11 @@ function create_log_table(obj_json) { var msg_type = parsedmess[4].split(" ")[2]; if (feeder == "All_feeders"){ - var total_proc = $.plot("#global", [ getData("global") ], options_processed_pastes); - update_processed_pastes(total_proc, "global"); + if(list_feeder.indexOf("global") == -1) { + list_feeder.push("global"); + var total_proc = $.plot("#global", [ getData("global") ], options_processed_pastes); + update_processed_pastes(total_proc, "global"); + } window.paste_num_tabvar_all["global"] = paste_processed; time_since_last_pastes_num["global"] = new Date().getTime(); } else { diff --git a/var/www/templates/index.html b/var/www/templates/index.html index 278bc873..90d7134b 100644 --- a/var/www/templates/index.html +++ b/var/www/templates/index.html @@ -91,12 +91,12 @@
-
+
- Feeder(s) Monitor: Processed pastes and filtered duplicated + Feeder(s) Monitor: Processed pastes and filtered duplicated
-
+
@@ -105,7 +105,7 @@
-
+
Queues Monitor