mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
System:gateways, only show enabled interfaces on edit. (prevents disappearing interfaces in overview)
This commit is contained in:
parent
2e6b138136
commit
e42f8ba01c
@ -522,7 +522,7 @@ $( document ).ready(function() {
|
||||
<td>
|
||||
<select name='interface' class="selectpicker" data-style="btn-default" data-live-search="true">
|
||||
<?php
|
||||
foreach (legacy_config_get_interfaces(array('virtual' => false)) as $iface => $ifcfg):?>
|
||||
foreach (legacy_config_get_interfaces(array('virtual' => false, "enable" => true)) as $iface => $ifcfg):?>
|
||||
<option value="<?=$iface;?>" <?=$iface == $pconfig['interface'] ? "selected='selected'" : "";?>>
|
||||
<?= $ifcfg['descr'] ?>
|
||||
</option>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user