aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/statictestfiles
diff options
context:
space:
mode:
Diffstat (limited to 'WebContent/statictestfiles')
-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 d7f697dbf5..a87df92bc8 100644
--- a/WebContent/statictestfiles/jsconnector.js
+++ b/WebContent/statictestfiles/jsconnector.js
@@ -1,7 +1,7 @@
window.com_vaadin_tests_components_javascriptcomponent_BasicJavaScriptComponent_ExampleWidget = function() {
var connector = this;
- var rootElement = connector.getWidgetElement();
+ var rootElement = connector.getElement();
rootElement.innerHTML = 'Hello world!';
rootElement.onclick = function() {
connector.getRpcProxy().onClick("message");