From: Artur Signell Date: Fri, 21 Aug 2009 11:18:36 +0000 (+0000) Subject: Fixed regression from [8516] "function eval must be called directly, and not by the... X-Git-Tag: 6.7.0.beta1~2601 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=13c23853dbd97a65cfbd53472544b57aaf3f8a1b;p=vaadin-framework.git Fixed regression from [8516] "function eval must be called directly, and not by the way of a function of another name" svn changeset:8520/svn branch:6.1 --- diff --git a/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java b/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java index 1b9b3d8990..02a46ef39e 100755 --- a/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java +++ b/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java @@ -590,7 +590,7 @@ public class ApplicationConnection { private static native ValueMap parseJSONResponse(String jsonText) /*-{ - return $wnd.eval('(' + jsonText + ')'); + return eval('(' + jsonText + ')'); }-*/; private void handleReceivedJSONMessage(Response response) {