1 |
commit: 665387ad048a2726d52c82b2bab108dfe70ec6b3 |
2 |
Author: Liam McLoughlin <hexxeh <AT> hexxeh <DOT> net> |
3 |
AuthorDate: Wed Jul 27 22:02:24 2011 +0000 |
4 |
Commit: Liam McLoughlin <hexxeh <AT> hexxeh <DOT> net> |
5 |
CommitDate: Wed Jul 27 22:10:51 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoaster.git;a=commit;h=665387ad |
7 |
|
8 |
Fix broken VNC client JS |
9 |
|
10 |
--- |
11 |
web/testdrive.php | 8 +++++--- |
12 |
1 files changed, 5 insertions(+), 3 deletions(-) |
13 |
|
14 |
diff --git a/web/testdrive.php b/web/testdrive.php |
15 |
index 7610811..d4708c9 100644 |
16 |
--- a/web/testdrive.php |
17 |
+++ b/web/testdrive.php |
18 |
@@ -172,15 +172,17 @@ |
19 |
port = <?php echo $server[1]; ?>; |
20 |
password = ""; |
21 |
|
22 |
- gqv = WebUtil.getQueryVar; |
23 |
+ function gqv(a,b) { |
24 |
+ return WebUtil.getQueryVar(a,b); |
25 |
+ } |
26 |
|
27 |
rfb = new RFB({'target':$D('VNC_canvas'), |
28 |
'encrypt': gqv('encrypt',false), |
29 |
'true_color': gqv('true_color',true), |
30 |
'local_cursor': gqv('cursor',true), |
31 |
'shared': gqv('shared',true), |
32 |
- 'updateState': updateState, |
33 |
- rfb.connect(host, port, password); |
34 |
+ 'updateState': updateState}); |
35 |
+ |
36 |
}; |
37 |
|
38 |
setTimeout("connect()", 2000); |