summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-08-13 08:51:28 +0300
committerLeif Åstrand <leif@vaadin.com>2012-08-13 08:51:28 +0300
commit52347a10799db89aab7b7c85d4456e057d61472b (patch)
treedef21db46426e3239c80e2c635f19d4bac8489e2 /tests
parent1ea209f48c861b4e8422b8e739d75f3367d95df6 (diff)
downloadvaadin-framework-52347a10799db89aab7b7c85d4456e057d61472b.tar.gz
vaadin-framework-52347a10799db89aab7b7c85d4456e057d61472b.zip
Fix test broken by #9280
Diffstat (limited to 'tests')
-rw-r--r--tests/testbench/com/vaadin/tests/components/javascriptcomponent/BasicJavaScriptComponentConnector.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/testbench/com/vaadin/tests/components/javascriptcomponent/BasicJavaScriptComponentConnector.js b/tests/testbench/com/vaadin/tests/components/javascriptcomponent/BasicJavaScriptComponentConnector.js
index fe8367d18a..b0ece6217d 100644
--- a/tests/testbench/com/vaadin/tests/components/javascriptcomponent/BasicJavaScriptComponentConnector.js
+++ b/tests/testbench/com/vaadin/tests/components/javascriptcomponent/BasicJavaScriptComponentConnector.js
@@ -1,4 +1,5 @@
window.com_vaadin_tests_components_javascriptcomponent_BasicJavaScriptComponent_ExampleWidget = function() {
+ var self = this;
var parentIds = [];
var connectorId = this.getConnectorId();
while(connectorId) {
@@ -30,7 +31,7 @@ window.com_vaadin_tests_components_javascriptcomponent_BasicJavaScriptComponent_
this.registerRpc({
sendRpc: function(message) {
- this.getRpcProxy().sendRpc(message + " processed");
+ self.getRpcProxy().sendRpc(message + " processed");
}
});