aboutsummaryrefslogtreecommitdiffstats
path: root/gwtquery-core
diff options
context:
space:
mode:
authorJulien Dramaix <julien.dramaix@gmail.com>2011-03-29 01:02:18 +0000
committerJulien Dramaix <julien.dramaix@gmail.com>2011-03-29 01:02:18 +0000
commite5530979ce74ac72eeebf6fd7aa12179e7858e53 (patch)
tree0232632c7e4b62a52666c02bd77d8aada63b5d94 /gwtquery-core
parent080f7fb2e6bcffdc1c9940e10e73f1ebd25b655f (diff)
downloadgwtquery-e5530979ce74ac72eeebf6fd7aa12179e7858e53.tar.gz
gwtquery-e5530979ce74ac72eeebf6fd7aa12179e7858e53.zip
make rebind static and call sink only if a gwt EventListener is associated to the element
Diffstat (limited to 'gwtquery-core')
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java2
1 files changed, 1 insertions, 1 deletions
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 9eee6b24..87fa7621 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
@@ -2936,7 +2936,7 @@ public class GQuery implements Lazy<GQuery, LazyGQuery> {
newNodes.addNode(e.getParentNode().insertBefore(n, e));
break;
}
- EventsListener.getInstance(n.<Element> cast()).rebind();
+ EventsListener.rebind(n.<Element> cast());
// GqUi.attachWidget(w);
}
}