Merge pull request #1291 from jacklul/patch-1

Make sure #ip-custom field is editable (PARSE_ARP_CACHE=false)
This commit is contained in:
DL6ER
2020-05-14 18:06:50 +02:00
committed by GitHub
+4
View File
@@ -32,6 +32,10 @@ function reload_client_suggestions() {
sel.append($("<option />").val(key).text(text));
}
if (data.length === 0) {
$("#ip-custom").prop("disabled", false);
}
sel.append($("<option />").val("custom").text("Custom, specified below..."));
if (customWasSelected) {
sel.val("custom");