diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-08-13 08:51:28 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-08-13 08:51:28 +0300 |
commit | 52347a10799db89aab7b7c85d4456e057d61472b (patch) | |
tree | def21db46426e3239c80e2c635f19d4bac8489e2 /tests | |
parent | 1ea209f48c861b4e8422b8e739d75f3367d95df6 (diff) | |
download | vaadin-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.js | 3 |
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"); } }); |