missed 1 onmouseup #5700

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
si458 2024-01-16 09:31:47 +00:00
parent d02b63a4a2
commit 757cef3f29

View File

@ -6326,9 +6326,9 @@
function cmaction(action, event) { function cmaction(action, event) {
var nodeid; var nodeid;
if (Q('viewselect').value == 1) { if (Q('viewselect').value == 1) {
nodeid = contextelement.children[0].children[0].children[1].children[0].attributes.onclick.value; nodeid = contextelement.children[0].children[0].children[1].children[0].attributes.onmouseup.value;
} else { } else {
nodeid = contextelement.children[1].attributes.onclick.value; nodeid = contextelement.children[1].attributes.onmouseup.value;
} }
nodeid = nodeid.substring(12, nodeid.length - 18); nodeid = nodeid.substring(12, nodeid.length - 18);
if (action == 9) { Q('viewselect').value = 3; Q('viewselect').onchange(); Q('autoConnectDesktopCheckbox').checked = true; Q('autoConnectDesktopCheckbox').onclick(); } // Multi-Desktop if (action == 9) { Q('viewselect').value = 3; Q('viewselect').onchange(); Q('autoConnectDesktopCheckbox').checked = true; Q('autoConnectDesktopCheckbox').onclick(); } // Multi-Desktop