summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-04-03 14:59:59 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2012-04-04 09:52:33 +0200
commit841606361937df552f4e130fccd2420fa71f0dda (patch)
treef4dcb75d9939af04438798f90be17c8a4e2fa02f
parentef9289a74b0bbd836349925579304fac06f2b9d0 (diff)
Set USB filter upon connection in test.html
spice-xpi doesn't currently support changing properties after the initial connection, so set the USB filter during initial connection so that USB filters can be tested.
-rw-r--r--data/test.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/test.html b/data/test.html
index ff7743b..675d2e6 100644
--- a/data/test.html
+++ b/data/test.html
@@ -116,6 +116,7 @@ function setConnectVars()
if(document.getElementById("SmartcardToggled").checked == true) { embed.Smartcard = document.getElementById("Smartcard").checked; } else { embed.Smartcard = ""; }
if(document.getElementById("ColorDepthToggled").checked == true) { embed.ColorDepth = document.getElementById("ColorDepth").value; } else { embed.ColorDepth = ""; }
if(document.getElementById("DisableEffectsToggled").checked == true) { embed.DisableEffects = document.getElementById("DisableEffects").value; } else { embed.DisableEffects = ""; }
+ setUsbFilter()
}
function show()