mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Add notes to domains
This commit is contained in:
@@ -14,20 +14,21 @@ function populateDomainEditModal(client_id, domain_id) {
|
||||
const vendors = response.vendors;
|
||||
|
||||
// Populate the domain modal fields
|
||||
document.getElementById("editHeader").innerText = domain.domain_name;
|
||||
document.getElementById("editDomainHeader").innerText = domain.domain_name;
|
||||
document.getElementById("editDomainId").value = domain_id;
|
||||
document.getElementById("editDomainName").value = domain.domain_name;
|
||||
document.getElementById("editExpire").value = domain.domain_expire;
|
||||
document.getElementById("editDomainExpire").value = domain.domain_expire;
|
||||
document.getElementById("editDomainNotes").value = domain.domain_notes;
|
||||
document.getElementById("editDomainIP").value = domain.domain_ip;
|
||||
document.getElementById("editNameServers").value = domain.domain_name_servers;
|
||||
document.getElementById("editMailServers").value = domain.domain_mail_servers;
|
||||
document.getElementById("editTxtRecords").value = domain.domain_txt;
|
||||
document.getElementById("editRawWhois").value = domain.domain_raw_whois;
|
||||
document.getElementById("editDomainNameServers").value = domain.domain_name_servers;
|
||||
document.getElementById("editDomainMailServers").value = domain.domain_mail_servers;
|
||||
document.getElementById("editDomainTxtRecords").value = domain.domain_txt;
|
||||
document.getElementById("editDomainRawWhois").value = domain.domain_raw_whois;
|
||||
|
||||
/* DROPDOWNS */
|
||||
|
||||
// Registrar dropdown
|
||||
var registrarDropdown = document.getElementById("editRegistrarId");
|
||||
var registrarDropdown = document.getElementById("editDomainRegistrarId");
|
||||
|
||||
// Clear registrar dropdown
|
||||
var i, L = registrarDropdown.options.length -1;
|
||||
@@ -48,7 +49,7 @@ function populateDomainEditModal(client_id, domain_id) {
|
||||
});
|
||||
|
||||
// Webhost dropdown
|
||||
var webhostDropdown = document.getElementById("editWebhostId");
|
||||
var webhostDropdown = document.getElementById("editDomainWebhostId");
|
||||
|
||||
// Clear registrar dropdown
|
||||
var i, L = webhostDropdown.options.length -1;
|
||||
|
||||
Reference in New Issue
Block a user