From f3233ea91fda461b18ed226fc8acc9dcd5a80b87 Mon Sep 17 00:00:00 2001 From: John Alhroos Date: Fri, 4 Mar 2011 12:38:13 +0000 Subject: Changed depracated DOM.compare() to "==". svn changeset:17613/svn branch:6.5 --- src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/com/vaadin/terminal') 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); } } -- cgit v1.2.3