mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Merge pull request #3213 from PiBa-NL/interfaces-gateway-message
This commit is contained in:
commit
778f988534
@ -3359,7 +3359,8 @@ events.push(function() {
|
||||
}
|
||||
|
||||
function report_failure(request, textStatus, errorThrown) {
|
||||
if (textStatus === "error" && request.getResponseHeader("Content-Type") === "text/plain") {
|
||||
contenttype = ";"+request.getResponseHeader("Content-Type")+";";
|
||||
if (textStatus === "error" && contenttype.indexOf(";text/plain;") !== -1) {
|
||||
alert(request.responseText);
|
||||
} else {
|
||||
alert("The IPv4 gateway could not be created.");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user