update doip-sdk
This commit is contained in:
@@ -39,11 +39,10 @@ function showNodeConfig(data) {
|
||||
$("#nodeNameInput")[0].value = global.config.nodeName;
|
||||
$("#ipPortInput")[0].value = global.config.ipPort;
|
||||
$("#doipConfigInput")[0].value = global.config.doipConfig;
|
||||
$("#masterAddrInput")[0].value = global.config.masterAddress;
|
||||
$("#peerIDInput")[0].value = global.config.peerID;
|
||||
$("#licence")[0].value = global.config.licence
|
||||
$("#expireTime").html(global.config.expireTime);
|
||||
$("#yjsInput")[0].value = global.config.yjsPath;
|
||||
$("#nodePubKeyInput")[0].value = global.config.nodePubKey;
|
||||
nodeCenterInputEl[0].value = global.config.nodeCenter;
|
||||
$("#nodeCenterWSInput")[0].value = global.config.nodeCenterWS;
|
||||
if (global.config.clusterConnected && global.config.clusterConnected === "true") {
|
||||
@@ -116,14 +115,6 @@ function changeDOIPConfig(event) {
|
||||
}));
|
||||
}
|
||||
|
||||
function changeMasterAddress(event) {
|
||||
global.wssocket.send(JSON.stringify({
|
||||
action: 'updateConfig',
|
||||
key: 'masterAddress',
|
||||
val: $("#masterAddrInput")[0].value
|
||||
}));
|
||||
}
|
||||
|
||||
function onChangeNodeName(data) {
|
||||
console.log("onChangeNodeName", data);
|
||||
//$("#nodeNameInput")[0].value = data;
|
||||
|
||||
Reference in New Issue
Block a user