From 27dbf565c268910beadebf3f9bcfcde6abe69f01 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Thu, 24 Sep 2015 12:54:56 +0000 Subject: [PATCH] (legacy) fix move to end and some typo's in firewall_virtual_ip.php --- src/www/firewall_virtual_ip.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/www/firewall_virtual_ip.php b/src/www/firewall_virtual_ip.php index 7460795e2..a5a15493f 100644 --- a/src/www/firewall_virtual_ip.php +++ b/src/www/firewall_virtual_ip.php @@ -195,7 +195,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { // move selected rules if (!isset($id)) { // if rule not set/found, move to end - $id = count($a_nat); + $id = count($a_vip); } $a_vip = legacy_move_config_list_items($a_vip, $id, $pconfig['rule']); write_config(); @@ -222,7 +222,7 @@ $main_buttons = array( // delete single BootstrapDialog.show({ type:BootstrapDialog.TYPE_INFO, - title: "", + title: "", message: "", buttons: [{ label: "", @@ -308,13 +308,13 @@ $main_buttons = array( - " class="act_move btn btn-default btn-xs"> + " class="act_move btn btn-default btn-xs"> - " class="btn btn-default btn-xs"> + " class="btn btn-default btn-xs"> - " data-toggle="tooltip" class="act_delete btn btn-default btn-xs"> + " data-toggle="tooltip" class="act_delete btn btn-default btn-xs"> ">