From 2e52447a3947bc5bc735ba55d94c550ed2efa5b4 Mon Sep 17 00:00:00 2001 From: jim-p Date: Sun, 15 Nov 2009 14:25:26 -0500 Subject: Snort widget update from matrix200 --- config/widget-snort/snort_alerts.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'config/widget-snort/snort_alerts.js') diff --git a/config/widget-snort/snort_alerts.js b/config/widget-snort/snort_alerts.js index 2eebb140..0cc76ab1 100644 --- a/config/widget-snort/snort_alerts.js +++ b/config/widget-snort/snort_alerts.js @@ -72,10 +72,11 @@ function snort_alerts_fetch_new_rules_callback(callback_data) { /* loop through rows */ row_split = data_split[x].split("||"); var line = ''; - line = '' + row_split[6] + '
' + row_split[7]+ ''; + line = '' + row_split[6] + '
' + row_split[7]+ ''; line += '' + row_split[3] + '
' + row_split[4] + ''; line += '' + 'Pri : ' + row_split[1] + '
' + 'Cat : ' + row_split[2] + ''; snortlastsawtime = row_split[5]; + //alert(row_split[0]); new_data_to_add[new_data_to_add.length] = line; } snort_alerts_update_div_rows(new_data_to_add); @@ -141,4 +142,4 @@ function snort_alerts_toggle_pause() { } } /* start local AJAX engine */ -snorttimer = setInterval('snort_alerts_fetch_new_rules()', snortupdateDelay); \ No newline at end of file +snorttimer = setInterval('snort_alerts_fetch_new_rules()', snortupdateDelay); -- cgit v1.2.3