Commit 77bd04f8 authored by Martin André's avatar Martin André

Fix invalid updateState property of RFB

It was changed to `onUpdateState` in
b1dee947.
parent 7caa9c20
...@@ -202,7 +202,7 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment