Added clearing of records when you start mining.
This commit is contained in:
@@ -125,10 +125,10 @@ function saveKey() {
|
|||||||
|
|
||||||
function createDomain() {
|
function createDomain() {
|
||||||
new_domain = document.getElementById("new_domain").value;
|
new_domain = document.getElementById("new_domain").value;
|
||||||
//new_dom_records = document.getElementById("new_domain_records").value;
|
|
||||||
new_dom_records = JSON.stringify(recordsBuffer);
|
new_dom_records = JSON.stringify(recordsBuffer);
|
||||||
new_dom_tags = document.getElementById("new_domain_tags").value;
|
new_dom_tags = document.getElementById("new_domain_tags").value;
|
||||||
external.invoke(JSON.stringify({cmd: 'createDomain', name: new_domain, records: new_dom_records, tags: new_dom_tags}));
|
external.invoke(JSON.stringify({cmd: 'createDomain', name: new_domain, records: new_dom_records, tags: new_dom_tags}));
|
||||||
|
recordsBuffer = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
function changeDomain() {
|
function changeDomain() {
|
||||||
|
|||||||
Reference in New Issue
Block a user