mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Fixes nEdge block buttons on flows
This commit is contained in:
parent
b66761dbf2
commit
3d83908dd0
2 changed files with 3 additions and 5 deletions
|
|
@ -1413,12 +1413,10 @@ function printBlockFlowJs()
|
|||
var data = jQuery.parseJSON(content);
|
||||
var row_id = flow_key + "_" + flow_hash_id;
|
||||
if (data.status == "BLOCKED") {
|
||||
$('#'+row_id+'_info').find('.block-badge')
|
||||
$('#'+row_id+'_block')
|
||||
.removeClass('badge-secondary')
|
||||
.addClass('badge-danger')
|
||||
.attr('title', ']] print(i18n("flow_details.flow_traffic_is_dropped")) print[[');
|
||||
$('#'+row_id+'_application, #'+row_id+'_l4, #'+row_id+'_client, #'+row_id+'_server')
|
||||
.css("text-decoration", "line-through");
|
||||
}
|
||||
},
|
||||
error: function(content) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue