diff options
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/contrib/samples/stock-comet/src/main/webapp/index.html | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sca-java-2.x/contrib/samples/stock-comet/src/main/webapp/index.html b/sca-java-2.x/contrib/samples/stock-comet/src/main/webapp/index.html index e03a08ccd2..0aa3e7c820 100644 --- a/sca-java-2.x/contrib/samples/stock-comet/src/main/webapp/index.html +++ b/sca-java-2.x/contrib/samples/stock-comet/src/main/webapp/index.html @@ -28,15 +28,7 @@ } function getQuotes() { - new Ajax.Request('test/StockService/getQuotes', - { - onSuccess: function(response) { - alert("onSuccess"); - }, - onError: function(response) { - alert("onError"); - } - }); + new Ajax.Request('test/StockService/getQuotes'); } Event.observe(document, 'DOMContentLoaded', function(e) { |