mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix #6613 Do not show Aply Changes button when Save needed
I got a bit carried away in the fix for #6460 21c18c3df1
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.
This commit is contained in:
parent
ac24dc242f
commit
1602106bf5
@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user