summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2014-02-03 11:31:06 +0200
committerTeemu Suo-Anttila <teemusa@vaadin.com>2014-02-03 11:31:06 +0200
commit2c1f8e67a71ad1163dd5b87f070987a05dfe35c5 (patch)
tree6029580165e16ad8a67d4a93ff27917ebf6678f3 /client
parent691580e36b1b5a04e1f18004783b28ca9892fa31 (diff)
downloadvaadin-framework-2c1f8e67a71ad1163dd5b87f070987a05dfe35c5.tar.gz
vaadin-framework-2c1f8e67a71ad1163dd5b87f070987a05dfe35c5.zip
Add SuggestionPopup to ComboBox SubParts. (#13286)
Change-Id: Ibee44bb9b568fc188ac9e05fb67ce94a9846b5bc
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ui/VFilterSelect.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/ui/VFilterSelect.java b/client/src/com/vaadin/client/ui/VFilterSelect.java
index 9b14fbbb37..63c8d3dbf9 100644
--- a/client/src/com/vaadin/client/ui/VFilterSelect.java
+++ b/client/src/com/vaadin/client/ui/VFilterSelect.java
@@ -1983,6 +1983,8 @@ public class VFilterSelect extends Composite implements Field, KeyDownHandler,
return tb.getElement();
} else if ("button".equals(subPart)) {
return popupOpener.getElement();
+ } else if ("popup".equals(subPart) && suggestionPopup.isAttached()) {
+ return suggestionPopup.getElement();
}
return null;
}
@@ -1993,6 +1995,8 @@ public class VFilterSelect extends Composite implements Field, KeyDownHandler,
return "textbox";
} else if (popupOpener.getElement().isOrHasChild(subElement)) {
return "button";
+ } else if (suggestionPopup.getElement().isOrHasChild(subElement)) {
+ return "popup";
}
return null;
}