mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
IDSP, alert screen action sometimes not visible due to selectpicker init. https://github.com/opnsense/core/issues/1976 ?
This commit is contained in:
parent
3aa89a9bc2
commit
4e1112edc9
@ -471,7 +471,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
});
|
||||
|
||||
if (rule_data.action != undefined) {
|
||||
var alert_select = $('<select class="selectpicker"/>');
|
||||
var alert_select = $('<select/>');
|
||||
var alert_enabled = $('<input type="checkbox"/>');
|
||||
if (rule_data.enabled == '1') {
|
||||
alert_enabled.prop('checked', true);
|
||||
@ -487,7 +487,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
$("<tr/>").append(
|
||||
$("<td/>").text("{{ lang._('Configured action') }}"),
|
||||
$("<td id='alert_sid_action'/>").append(
|
||||
alert_enabled, $("<span/>").html(" <strong>{{ lang._('Enabled')}}</strong>"), alert_select
|
||||
alert_enabled, $("<span/>").html(" <strong>{{lang._('Enabled')}}</strong><br/>"), alert_select, $("<br/>")
|
||||
)
|
||||
)
|
||||
);
|
||||
@ -523,6 +523,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
tbl.append(tbl_tbody);
|
||||
stdDialogInform("{{ lang._('Alert info') }}", tbl, "{{ lang._('Close') }}", undefined, "info", 'suricata-alert');
|
||||
alert_select.selectpicker('refresh');
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user