mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
XHTML Compliance
Firewall - Aliases - Edit
This commit is contained in:
parent
1aad59d80e
commit
76b1d814fa
@ -665,7 +665,7 @@ if (empty($tab)) {
|
||||
?>
|
||||
<tr>
|
||||
<td>
|
||||
<input autocomplete="off" name="address<?php echo $counter; ?>" type="text" class="formfldalias ipv4v6" id="address<?php echo $counter; ?>" size="30" value="<?=htmlspecialchars($address);?>" />
|
||||
<input style="autocomplete:off" name="address<?php echo $counter; ?>" type="text" class="formfldalias ipv4v6" id="address<?php echo $counter; ?>" size="30" value="<?=htmlspecialchars($address);?>" />
|
||||
</td>
|
||||
<td>
|
||||
<select name="address_subnet<?php echo $counter; ?>" class="formselect ipv4v6" id="address_subnet<?php echo $counter; ?>">
|
||||
@ -707,6 +707,16 @@ if (empty($tab)) {
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
var autocomplete_off = ['address'];
|
||||
for (var i = 0; i < autocomplete_off.length; i++) {
|
||||
var node = document.getElementById(autocomplete_off[i]);
|
||||
node.setAttribute("autocomplete",node.style.autocomplete);
|
||||
}
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
field_counter_js = 3;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user