Commit 4ac49f56 authored by Franco Fichtner's avatar Franco Fichtner

firewall/NAT: defer javascript execution to avoid error; #208

parent 0e3ea048
......@@ -909,6 +909,7 @@ include("head.inc");
<script type="text/javascript">
//<![CDATA[
$(document).ready(function() {
ext_change();
dst_change(document.iform.interface.value,'<?=htmlspecialchars($pconfig['interface'])?>','<?=htmlspecialchars($pconfig['dst'])?>');
var iface_old = document.iform.interface.value;
......@@ -918,6 +919,7 @@ include("head.inc");
show_source();
<?php endif; ?>
nordr_change();
});
//]]>
</script>
<script type="text/javascript">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment