[Freeipa-devel] [PATCH] 095 Fixed selection of single value in combobox
Petr Vobornik
pvoborni at redhat.com
Thu Feb 23 15:34:56 UTC 2012
Patch description:
When editable combobox had only one option and input field was cleared,
the option couldn't be selected if it was selected before.
This patch adds click handler to option elements. The handler calls
select_on_change.
When different option is selected select_on_change is executed twice. To
avoid duplicate call of value_changed an open state of option area is
checked. In first pass the area will be closed so it won't be executed
in second. When selected option is clicked, only onclick handler is
processed.
This patch assumes that select event will be processed before click event.
https://fedorahosted.org/freeipa/ticket/2070
--
Petr Vobornik
More information about the Freeipa-devel
mailing list