diff options
Diffstat (limited to 'sca-java-2.x/contrib/samples/learning-more/binding-comet/pubsub-webapp/src/main/webapp')
-rw-r--r-- | sca-java-2.x/contrib/samples/learning-more/binding-comet/pubsub-webapp/src/main/webapp/index.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sca-java-2.x/contrib/samples/learning-more/binding-comet/pubsub-webapp/src/main/webapp/index.html b/sca-java-2.x/contrib/samples/learning-more/binding-comet/pubsub-webapp/src/main/webapp/index.html index ea217ac35d..e7b6354ac9 100644 --- a/sca-java-2.x/contrib/samples/learning-more/binding-comet/pubsub-webapp/src/main/webapp/index.html +++ b/sca-java-2.x/contrib/samples/learning-more/binding-comet/pubsub-webapp/src/main/webapp/index.html @@ -35,8 +35,7 @@ document.getElementById('connect').onclick = function(event) { /* transport can be : long-polling or streaming */ SCA.TuscanyComet.connect(document.getElementById('transport').value); - document.getElementById('connect').disabled = true; - document.getElementById('transport').disabled = true; + document.getElementById('connect').value = 'Switch'; } |