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