summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/diag_routes.php')
-rw-r--r--src/usr/local/www/diag_routes.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/usr/local/www/diag_routes.php b/src/usr/local/www/diag_routes.php
index 08da04f..58c4924 100644
--- a/src/usr/local/www/diag_routes.php
+++ b/src/usr/local/www/diag_routes.php
@@ -138,7 +138,8 @@ $section->addInput(new Form_Input(
$form->add($section);
print $form;
?>
-<script>
+<script type="text/javascript">
+//<![CDATA[
function update_routes(section) {
$.ajax(
'/diag_routes.php',
@@ -207,6 +208,7 @@ events.push(function(){
e.preventDefault();
});
});
+//]]>
</script>
<div class="panel panel-default">
OpenPOWER on IntegriCloud