public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Liam McLoughlin" <hexxeh@hexxeh.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoaster:master commit in: web/
Date: Fri, 12 Aug 2011 23:17:57 +0000 (UTC)	[thread overview]
Message-ID: <0f5558d334f95339b621d5357a2b01d1cde97897.hexxeh@gentoo> (raw)

commit:     0f5558d334f95339b621d5357a2b01d1cde97897
Author:     Liam McLoughlin <hexxeh <AT> hexxeh <DOT> net>
AuthorDate: Wed Jul 27 22:02:24 2011 +0000
Commit:     Liam McLoughlin <hexxeh <AT> hexxeh <DOT> net>
CommitDate: Wed Jul 27 22:12:57 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gentoaster.git;a=commit;h=0f5558d3

Fix broken VNC client JS

---
 web/testdrive.php |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/web/testdrive.php b/web/testdrive.php
index 7610811..a141af5 100644
--- a/web/testdrive.php
+++ b/web/testdrive.php
@@ -125,7 +125,7 @@
                                 return false;
                             }
                             function updateState(rfb, state, oldstate, msg) {
-                                var s, sb, cad, level;
+                                var s, sb, cad, level, attr;
                                 s = $D('VNC_status');
                                 sb = $D('VNC_status_bar');
                                 cad = $D('sendCtrlAltDelButton');
@@ -172,15 +172,19 @@
                                 port = <?php echo $server[1]; ?>;
                                 password = "";
                     
-                                gqv = WebUtil.getQueryVar;
+                                function gqv(a,b) {
+                                    return WebUtil.getQueryVar(a,b);
+                                }
                     
                                 rfb = new RFB({'target':$D('VNC_canvas'),
                                 'encrypt': gqv('encrypt',false),
                                 'true_color': gqv('true_color',true),
                                 'local_cursor': gqv('cursor',true),
                                 'shared': gqv('shared',true),
-                                'updateState':  updateState,
+                                'updateState':  updateState});
+                                
                                 rfb.connect(host, port, password);
+                                
                             };
                             
                             setTimeout("connect()", 2000);



WARNING: multiple messages have this Message-ID (diff)
From: "Liam McLoughlin" <hexxeh@hexxeh.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoaster:webui commit in: web/
Date: Wed, 27 Jul 2011 22:13:07 +0000 (UTC)	[thread overview]
Message-ID: <0f5558d334f95339b621d5357a2b01d1cde97897.hexxeh@gentoo> (raw)
Message-ID: <20110727221307.Prc7UD9DGLIiKJwG2InKTCptDkb5LzbKuaXhdO03uPY@z> (raw)

commit:     0f5558d334f95339b621d5357a2b01d1cde97897
Author:     Liam McLoughlin <hexxeh <AT> hexxeh <DOT> net>
AuthorDate: Wed Jul 27 22:02:24 2011 +0000
Commit:     Liam McLoughlin <hexxeh <AT> hexxeh <DOT> net>
CommitDate: Wed Jul 27 22:12:57 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gentoaster.git;a=commit;h=0f5558d3

Fix broken VNC client JS

---
 web/testdrive.php |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/web/testdrive.php b/web/testdrive.php
index 7610811..a141af5 100644
--- a/web/testdrive.php
+++ b/web/testdrive.php
@@ -125,7 +125,7 @@
                                 return false;
                             }
                             function updateState(rfb, state, oldstate, msg) {
-                                var s, sb, cad, level;
+                                var s, sb, cad, level, attr;
                                 s = $D('VNC_status');
                                 sb = $D('VNC_status_bar');
                                 cad = $D('sendCtrlAltDelButton');
@@ -172,15 +172,19 @@
                                 port = <?php echo $server[1]; ?>;
                                 password = "";
                     
-                                gqv = WebUtil.getQueryVar;
+                                function gqv(a,b) {
+                                    return WebUtil.getQueryVar(a,b);
+                                }
                     
                                 rfb = new RFB({'target':$D('VNC_canvas'),
                                 'encrypt': gqv('encrypt',false),
                                 'true_color': gqv('true_color',true),
                                 'local_cursor': gqv('cursor',true),
                                 'shared': gqv('shared',true),
-                                'updateState':  updateState,
+                                'updateState':  updateState});
+                                
                                 rfb.connect(host, port, password);
+                                
                             };
                             
                             setTimeout("connect()", 2000);



             reply	other threads:[~2011-08-12 23:19 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-12 23:17 Liam McLoughlin [this message]
2011-07-27 22:13 ` [gentoo-commits] proj/gentoaster:webui commit in: web/ Liam McLoughlin
  -- strict thread matches above, loose matches on Subject: below --
2011-08-19 12:55 [gentoo-commits] proj/gentoaster:master " Liam McLoughlin
2011-08-15  2:52 Liam McLoughlin
2011-08-15  1:47 Liam McLoughlin
2011-08-15  0:25 Liam McLoughlin
2011-08-12 23:17 Liam McLoughlin
2011-08-12 23:17 Liam McLoughlin
2011-08-12 23:17 Liam McLoughlin
2011-08-12 23:17 Liam McLoughlin
2011-08-06  0:14 [gentoo-commits] proj/gentoaster:webui " Liam McLoughlin
2011-08-12 23:18 ` [gentoo-commits] proj/gentoaster:master " Liam McLoughlin
2011-08-04 21:04 [gentoo-commits] proj/gentoaster:webui " Liam McLoughlin
2011-08-12 23:18 ` [gentoo-commits] proj/gentoaster:master " Liam McLoughlin
2011-08-02 17:31 [gentoo-commits] proj/gentoaster:webui " Liam McLoughlin
2011-08-12 23:17 ` [gentoo-commits] proj/gentoaster:master " Liam McLoughlin
2011-07-28  1:12 [gentoo-commits] proj/gentoaster:webui " Liam McLoughlin
2011-08-12 23:17 ` [gentoo-commits] proj/gentoaster:master " Liam McLoughlin
2011-07-27 20:25 [gentoo-commits] proj/gentoaster:webui " Liam McLoughlin
2011-08-12 23:17 ` [gentoo-commits] proj/gentoaster:master " Liam McLoughlin
2011-07-27 20:11 [gentoo-commits] proj/gentoaster:webui " Liam McLoughlin
2011-08-12 23:17 ` [gentoo-commits] proj/gentoaster:master " Liam McLoughlin
2011-07-15 19:59 [gentoo-commits] proj/gentoaster:webui " Liam McLoughlin
2011-08-12 23:17 ` [gentoo-commits] proj/gentoaster:master " Liam McLoughlin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0f5558d334f95339b621d5357a2b01d1cde97897.hexxeh@gentoo \
    --to=hexxeh@hexxeh.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox