summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin André <martin.andre@kvhasia.com>2014-09-17 16:44:21 +0900
committerMartin André <martin.andre@kvhasia.com>2014-09-17 16:56:13 +0900
commit77bd04f8338b5ccaf78e2f8e3df0400ad9908ca9 (patch)
tree6b01a67c61166d531dd8c56eac08842bc0ea1135
parent7caa9c20c250eae31eb9761dfe845911429154d9 (diff)
downloadnovnc-77bd04f8338b5ccaf78e2f8e3df0400ad9908ca9.tar.gz
Fix invalid updateState property of RFB
It was changed to `onUpdateState` in b1dee9478815b22bf5fee3ee9e44321d4bb46c91.
-rw-r--r--tests/vnc_perf.html2
-rw-r--r--tests/vnc_playback.html2
-rw-r--r--vnc_auto.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/vnc_perf.html b/tests/vnc_perf.html
index 18aba35..c439e95 100644
--- a/tests/vnc_perf.html
+++ b/tests/vnc_perf.html
@@ -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>
diff --git a/tests/vnc_playback.html b/tests/vnc_playback.html
index 9d7f31f..b5faf93 100644
--- a/tests/vnc_playback.html
+++ b/tests/vnc_playback.html
@@ -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>
diff --git a/vnc_auto.html b/vnc_auto.html
index 53b8220..ff376fe 100644
--- a/vnc_auto.html
+++ b/vnc_auto.html
@@ -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);