From: Manolo Carrasco Date: Fri, 23 Dec 2011 10:13:50 +0000 (+0000) Subject: Fix a erroneous hardcoded key name in getFunctionBase X-Git-Tag: release-1.3.2~137 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0bd183b95d18981a3ce83028f87e3a928ec70dbe;p=gwtquery.git Fix a erroneous hardcoded key name in getFunctionBase --- 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;