Tomas Jelinek has submitted this change and it was merged.
Change subject: webadmin,userportal: change suggest box event handling
webadmin,userportal: change suggest box event handling
The problem was that the ListModelTypeAheadListBox could
be closed only by either selecting one of the values or clicking
somewhere outside of it, but not by clicking inside it again
or clicking to the drop down triangle.
Fixed by disabling the auto-hide feature of the suggest box
and handling this events by hand.
The SuggestBoxFocusHandler now contains a field called "enabled"
which enables-disables the handling by this handler. It is set
from FocusHandlerEnablingMouseHandlers. The order of the events is:
makeing the onBlur bordered between the mouse events. The reason is
that the blur handler is supposed to hide the suggestions only if
the other ways are not used (e.g.: clicking on the triangle or selecting a
suggestion by clicking on some suggestion).
One other fix is that the EnterIgnoringNativePreviewHandler has been
fixed to process the enter event only once.
Signed-off-by: Tomas Jelinek <tjelinek(a)redhat.com>
2 files changed, 132 insertions(+), 36 deletions(-)
Tomas Jelinek: Verified; Looks good to me, approved
To view, visit http://gerrit.ovirt.org/17327
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-Owner: Tomas Jelinek <tjelinek(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik(a)redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek(a)redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server