mirror of
https://github.com/stagehacks/Cue-View.git
synced 2026-07-26 09:18:39 +00:00
split device port into local and remote ports
This commit is contained in:
+6
-1
@@ -59,6 +59,11 @@ window.init = function init() {
|
||||
DEVICE.changeActivePort(e.target.value);
|
||||
};
|
||||
|
||||
document.getElementById('device-settings-rx-port').onchange = function portChange(e) {
|
||||
e.stopPropagation();
|
||||
DEVICE.changeActiveRxPort(e.target.value);
|
||||
};
|
||||
|
||||
document.getElementById('device-settings-pin').onchange = function pinChange(e) {
|
||||
e.stopPropagation();
|
||||
if (e.target.checked) {
|
||||
@@ -99,7 +104,7 @@ window.init = function init() {
|
||||
{
|
||||
type: e.target.value,
|
||||
defaultName: 'New Device',
|
||||
port: undefined,
|
||||
remotePort: PLUGINS.all[e.target.value].config.remotePort || '',
|
||||
addresses: [],
|
||||
},
|
||||
'fromAddButton'
|
||||
|
||||
Reference in New Issue
Block a user