mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-05-15 23:56:06 +00:00
webapp zone.js: updated code to show only APP record handlers while adding APP record.
This commit is contained in:
@@ -1163,7 +1163,8 @@ function showAddRecordModalNow(apps) {
|
||||
var optClassPaths = "<option></option>";
|
||||
|
||||
for (var i = 0; i < apps.length; i++) {
|
||||
optApps += "<option>" + apps[i].name + "</option>";
|
||||
if (apps[i].appRecordRequestHandlers.length > 0)
|
||||
optApps += "<option>" + apps[i].name + "</option>";
|
||||
}
|
||||
|
||||
$("#optAddEditRecordDataAppName").html(optApps);
|
||||
|
||||
Reference in New Issue
Block a user