From 1602106bf511e91c8d8f371ff8d5a92cfa70879a Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Fri, 15 Jul 2016 08:44:59 +0930 Subject: Fix #6613 Do not show Aply Changes button when Save needed I got a bit carried away in the fix for #6460 https://github.com/pfsense/pfsense/commit/21c18c3df11547aba172c10f95872dbd8682f7d9 The message here at line 507 should not actually show the Apply Changes button. At this point the user needs to adjust the assigned interfaces and save. Then after saving an Apply Changes button can be used to implement the saved changes. --- src/usr/local/www/interfaces_assign.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/usr') diff --git a/src/usr/local/www/interfaces_assign.php b/src/usr/local/www/interfaces_assign.php index 1989b54..20cf1dd 100644 --- a/src/usr/local/www/interfaces_assign.php +++ b/src/usr/local/www/interfaces_assign.php @@ -504,7 +504,7 @@ if (file_exists("/var/run/interface_mismatch_reboot_needed")) { $class = "warning"; } } else { - $applymsg = gettext("Interface mismatch detected. Please resolve the mismatch and click 'Apply Changes'. The firewall will reboot afterwards."); + $savemsg = gettext("Interface mismatch detected. Please resolve the mismatch, save and then click 'Apply Changes'. The firewall will reboot afterwards."); $class = "warning"; } } -- cgit v1.1