From 3f275820136d146344d0be95c7f37a35a563d5ff Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Wed, 17 Oct 2012 08:35:08 +0200 Subject: [PATCH] remove was failing in mobile devices --- .../src/main/java/com/google/gwt/query/client/GQuery.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java index 3b5a539d..ce90db38 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java @@ -414,7 +414,7 @@ public class GQuery implements Lazy { // return all nodes added to the wrapper $(n.getChildNodes()) // detach nodes from their temporary parent - .remove(); + .remove(null, false); } /** @@ -3476,6 +3476,7 @@ public class GQuery implements Lazy { if (filter == null || $(e).filter(filter).length() == 1) { if (clean) { // clean data linked to the children + // TODO: "*" fails in queryselectorall (webkit mobile) cleanGQData($("*", e).elements()); // clean data linked to the element itself cleanGQData(e); -- 2.39.5