瀏覽代碼

Merge pull request #364 from ArcBees/mmc_fix_submit

Fix #363 : form.submit()
tags/gwtquery-project-1.5-beta1
Maxime Meriouma-Caron 8 年之前
父節點
當前提交
6a136c1577
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. 3
    0
      gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java

+ 3
- 0
gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java 查看文件

@@ -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…
取消
儲存