summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal
diff options
context:
space:
mode:
authorJohn Alhroos <john.ahlroos@itmill.com>2011-03-04 12:38:13 +0000
committerJohn Alhroos <john.ahlroos@itmill.com>2011-03-04 12:38:13 +0000
commitf3233ea91fda461b18ed226fc8acc9dcd5a80b87 (patch)
tree9c915d66e6d2e1a0c40555a5b3dbdd6b0067bbcd /src/com/vaadin/terminal
parentcfdbbb0dab832de1e2245c28217170cdd4750698 (diff)
downloadvaadin-framework-f3233ea91fda461b18ed226fc8acc9dcd5a80b87.tar.gz
vaadin-framework-f3233ea91fda461b18ed226fc8acc9dcd5a80b87.zip
Changed depracated DOM.compare() to "==".
svn changeset:17613/svn branch:6.5
Diffstat (limited to 'src/com/vaadin/terminal')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java b/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java
index f9d9f8dbc9..da5f879315 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java
@@ -328,11 +328,9 @@ public class VFilterSelect extends Composite implements Paintable, Field,
public void onBrowserEvent(Event event) {
if (event.getTypeInt() == Event.ONCLICK) {
final Element target = DOM.eventGetTarget(event);
- if (DOM.compare(target, up)
- || DOM.compare(target, DOM.getChild(up, 0))) {
+ if (target == up || target == DOM.getChild(up, 0)) {
filterOptions(currentPage - 1, lastFilter);
- } else if (DOM.compare(target, down)
- || DOM.compare(target, DOM.getChild(down, 0))) {
+ } else if (target == down || target == DOM.getChild(down, 0)) {
filterOptions(currentPage + 1, lastFilter);
}
}