aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/statictestfiles/jsconnector.js
diff options
context:
space:
mode:
Diffstat (limited to 'WebContent/statictestfiles/jsconnector.js')
-rw-r--r--WebContent/statictestfiles/jsconnector.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebContent/statictestfiles/jsconnector.js b/WebContent/statictestfiles/jsconnector.js
index e08c748aa6..d7f697dbf5 100644
--- a/WebContent/statictestfiles/jsconnector.js
+++ b/WebContent/statictestfiles/jsconnector.js
@@ -4,7 +4,7 @@ window.com_vaadin_tests_components_javascriptcomponent_BasicJavaScriptComponent_
var rootElement = connector.getWidgetElement();
rootElement.innerHTML = 'Hello world!';
rootElement.onclick = function() {
- connector.getRpcProxyFunction("com.vaadin.tests.components.javascriptcomponent.BasicJavaScriptComponent$ExampleClickRpc", "onClick")("message");
+ connector.getRpcProxy().onClick("message");
connector.onclick("another message");
}
connector.onStateChange = function() {