mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-03-24 14:30:01 +00:00
webapp: minor fix while showing zone name for root zone case.
This commit is contained in:
@@ -1214,7 +1214,7 @@ function showAddRecordModalNow(apps) {
|
||||
clearAddEditForm();
|
||||
|
||||
$("#titleAddEditRecord").text("Add Record");
|
||||
$("#lblAddEditRecordZoneName").text(zone);
|
||||
$("#lblAddEditRecordZoneName").text(zone === "." ? "" : zone);
|
||||
$("#optEditRecordTypeSoa").hide();
|
||||
$("#btnAddEditRecord").attr("onclick", "addRecord(); return false;");
|
||||
|
||||
@@ -1643,7 +1643,7 @@ function showEditRecordModal(objBtn) {
|
||||
|
||||
clearAddEditForm();
|
||||
$("#titleAddEditRecord").text("Edit Record");
|
||||
$("#lblAddEditRecordZoneName").text(zone);
|
||||
$("#lblAddEditRecordZoneName").text(zone === "." ? "" : zone);
|
||||
$("#optEditRecordTypeSoa").show();
|
||||
$("#optAddEditRecordType").val(type);
|
||||
$("#divAddEditRecordOverwrite").hide();
|
||||
|
||||
Reference in New Issue
Block a user