mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2025-12-22 09:29:50 +00:00
logs.js: updated code to support new changes for IQueryLogs.
This commit is contained in:
@@ -28,7 +28,7 @@ $(function () {
|
|||||||
for (var i = 0; i < appsList.length; i++) {
|
for (var i = 0; i < appsList.length; i++) {
|
||||||
if (appsList[i].name == appName) {
|
if (appsList[i].name == appName) {
|
||||||
for (var j = 0; j < appsList[i].dnsApps.length; j++) {
|
for (var j = 0; j < appsList[i].dnsApps.length; j++) {
|
||||||
if (appsList[i].dnsApps[j].isQueryLogger)
|
if (appsList[i].dnsApps[j].isQueryLogs)
|
||||||
optClassPaths += "<option>" + appsList[i].dnsApps[j].classPath + "</option>";
|
optClassPaths += "<option>" + appsList[i].dnsApps[j].classPath + "</option>";
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -212,7 +212,7 @@ function refreshQueryLogsTab(doQueryLogs) {
|
|||||||
|
|
||||||
for (var i = 0; i < apps.length; i++) {
|
for (var i = 0; i < apps.length; i++) {
|
||||||
for (var j = 0; j < apps[i].dnsApps.length; j++) {
|
for (var j = 0; j < apps[i].dnsApps.length; j++) {
|
||||||
if (apps[i].dnsApps[j].isQueryLogger) {
|
if (apps[i].dnsApps[j].isQueryLogs) {
|
||||||
optApps += "<option>" + apps[i].name + "</option>";
|
optApps += "<option>" + apps[i].name + "</option>";
|
||||||
|
|
||||||
if (currentAppName == null)
|
if (currentAppName == null)
|
||||||
@@ -226,7 +226,7 @@ function refreshQueryLogsTab(doQueryLogs) {
|
|||||||
for (var i = 0; i < apps.length; i++) {
|
for (var i = 0; i < apps.length; i++) {
|
||||||
if (apps[i].name == currentAppName) {
|
if (apps[i].name == currentAppName) {
|
||||||
for (var j = 0; j < apps[i].dnsApps.length; j++) {
|
for (var j = 0; j < apps[i].dnsApps.length; j++) {
|
||||||
if (apps[i].dnsApps[j].isQueryLogger)
|
if (apps[i].dnsApps[j].isQueryLogs)
|
||||||
optClassPaths += "<option>" + apps[i].dnsApps[j].classPath + "</option>";
|
optClassPaths += "<option>" + apps[i].dnsApps[j].classPath + "</option>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user