]> source.dussan.org Git - gwtquery.git/commitdiff
remove was failing in mobile devices
authorManolo Carrasco <manolo@apache.org>
Wed, 17 Oct 2012 06:35:08 +0000 (08:35 +0200)
committerManolo Carrasco <manolo@apache.org>
Wed, 17 Oct 2012 06:35:08 +0000 (08:35 +0200)
gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java

index 3b5a539d77965fea9a955ddf4caf387c6dca1842..ce90db3893a0a287b946064913f455c3a8961036 100644 (file)
@@ -414,7 +414,7 @@ public class GQuery implements Lazy<GQuery, LazyGQuery> {
       // return all nodes added to the wrapper\r
       $(n.getChildNodes())\r
       // detach nodes from their temporary parent\r
-      .remove();\r
+      .remove(null, false);\r
   }\r
 \r
   /**\r
@@ -3476,6 +3476,7 @@ public class GQuery implements Lazy<GQuery, LazyGQuery> {
       if (filter == null || $(e).filter(filter).length() == 1) {\r
         if (clean) {\r
           // clean data linked to the children\r
+          // TODO: "*" fails in queryselectorall (webkit mobile)\r
           cleanGQData($("*", e).elements());\r
           // clean data linked to the element itself\r
           cleanGQData(e);\r