mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-04 09:50:09 +00:00
fixed enabled button on scripts list
This commit is contained in:
parent
be602eff71
commit
3d1f2c8bef
4 changed files with 12 additions and 11 deletions
|
|
@ -1331,10 +1331,14 @@ const createScriptStatusButton = (row_data) => {
|
|||
|
||||
$button.html(`<i class='fas fa-toggle-on'></i>`);
|
||||
$button.addClass('btn-success');
|
||||
$button.attr('data-target', '#modal-script');
|
||||
$button.attr('data-toggle', 'modal');
|
||||
|
||||
return $button;
|
||||
|
||||
if (row_data.input_handler) {
|
||||
$button.attr('data-target', '#modal-script');
|
||||
$button.attr('data-toggle', 'modal');
|
||||
return $button;
|
||||
}
|
||||
|
||||
}
|
||||
else {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue