From 0bd183b95d18981a3ce83028f87e3a928ec70dbe Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Fri, 23 Dec 2011 10:13:50 +0000 Subject: [PATCH] Fix a erroneous hardcoded key name in getFunctionBase --- .../com/google/gwt/query/client/builders/JsonBuilderBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/builders/JsonBuilderBase.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/builders/JsonBuilderBase.java index a209a5a3..afd04eac 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/builders/JsonBuilderBase.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/builders/JsonBuilderBase.java @@ -89,7 +89,7 @@ public abstract class JsonBuilderBase> implements J } protected Function getFunctionBase(String n) { - final Object o = p.get("success"); + final Object o = p.get(n); if (o != null) { if (o instanceof Function) { return (Function)o; -- 2.39.5