From 3ae4372e6821284a2da25be61741feccdec11eb2 Mon Sep 17 00:00:00 2001 From: laf Date: Sun, 30 Aug 2015 17:33:54 +0000 Subject: [PATCH] Initial work on port override --- html/includes/table/edit-ports.inc.php | 4 +-- html/pages/device/edit/ports.inc.php | 38 ++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 2 deletions(-) diff --git a/html/includes/table/edit-ports.inc.php b/html/includes/table/edit-ports.inc.php index d53a436d83..0c73c88b56 100644 --- a/html/includes/table/edit-ports.inc.php +++ b/html/includes/table/edit-ports.inc.php @@ -64,7 +64,7 @@ foreach (dbFetchRows($sql, $param) as $port) { ', 'ignore' => ' ', - 'ifAlias' => $port['ifAlias'] + 'ifAlias' => '' ); }//end foreach @@ -75,4 +75,4 @@ $output = array( 'rows' => $response, 'total' => $total, ); -echo _json_encode($output); \ No newline at end of file +echo _json_encode($output); diff --git a/html/pages/device/edit/ports.inc.php b/html/pages/device/edit/ports.inc.php index 8654395956..368747a766 100644 --- a/html/pages/device/edit/ports.inc.php +++ b/html/pages/device/edit/ports.inc.php @@ -1,3 +1,4 @@ +
n.b For the first time, please click any button twice.
@@ -20,6 +21,42 @@