aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfig/haproxy-dev/haproxy_listeners_edit.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/haproxy-dev/haproxy_listeners_edit.php b/config/haproxy-dev/haproxy_listeners_edit.php
index 6f18b1bd..89ac8195 100755
--- a/config/haproxy-dev/haproxy_listeners_edit.php
+++ b/config/haproxy-dev/haproxy_listeners_edit.php
@@ -289,8 +289,10 @@ include("head.inc");
seltext = "<?php echo haproxy_acl_select('https');?>";
else
seltext = "<?php echo haproxy_acl_select('http');?>";
- if (seltext == '')
+ if (seltext == '') {
+ alert("No ACL types available in current listener mode");
return;
+ }
tbody = d.getElementById(tableId).getElementsByTagName("tbody").item(0);
tr = d.createElement("tr");