Browse Source

Merge pull request #364 from ArcBees/mmc_fix_submit

Fix #363 : form.submit()
tags/gwtquery-project-1.5-beta1
Maxime Meriouma-Caron 8 years ago
parent
commit
6a136c1577

+ 3
- 0
gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java View File

@@ -234,6 +234,9 @@ public class GQuery implements Lazy<GQuery, LazyGQuery> {
if (o instanceof Function) {
return new GQuery(((Function) o).getElement());
}
if (JsUtils.isElement(o)) {
return new GQuery(JsUtils.<Element> cast(o));
}
if (o instanceof JsonBuilder) {
return new GQuery(((JsonBuilder) o).<Element>getDataImpl());
}

Loading…
Cancel
Save