Fix invalid updateState property of RFB
It was changed to `onUpdateState` in b1dee9478815b22bf5fee3ee9e44321d4bb46c91.
This commit is contained in:
parent
7caa9c20c2
commit
77bd04f833
@ -202,7 +202,7 @@
|
|||||||
dbgmsg(" " + enc + ": " + VNC_frame_data_multi[enc].length);
|
dbgmsg(" " + enc + ": " + VNC_frame_data_multi[enc].length);
|
||||||
}
|
}
|
||||||
rfb = new RFB({'target': $D('VNC_canvas'),
|
rfb = new RFB({'target': $D('VNC_canvas'),
|
||||||
'updateState': updateState});
|
'onUpdateState': updateState});
|
||||||
rfb.testMode(send_array, VNC_frame_encoding);
|
rfb.testMode(send_array, VNC_frame_encoding);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -131,7 +131,7 @@
|
|||||||
if (fname) {
|
if (fname) {
|
||||||
message("VNC_frame_data.length: " + VNC_frame_data.length);
|
message("VNC_frame_data.length: " + VNC_frame_data.length);
|
||||||
rfb = new RFB({'target': $D('VNC_canvas'),
|
rfb = new RFB({'target': $D('VNC_canvas'),
|
||||||
'updateState': updateState});
|
'onUpdateState': updateState});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -198,7 +198,7 @@
|
|||||||
'local_cursor': WebUtil.getQueryVar('cursor', true),
|
'local_cursor': WebUtil.getQueryVar('cursor', true),
|
||||||
'shared': WebUtil.getQueryVar('shared', true),
|
'shared': WebUtil.getQueryVar('shared', true),
|
||||||
'view_only': WebUtil.getQueryVar('view_only', false),
|
'view_only': WebUtil.getQueryVar('view_only', false),
|
||||||
'updateState': updateState,
|
'onUpdateState': updateState,
|
||||||
'onXvpInit': xvpInit,
|
'onXvpInit': xvpInit,
|
||||||
'onPasswordRequired': passwordRequired});
|
'onPasswordRequired': passwordRequired});
|
||||||
rfb.connect(host, port, password, path);
|
rfb.connect(host, port, password, path);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user