[Freeipa-devel] [PATCH] 095 Fixed selection of single value in combobox

Petr Vobornik pvoborni at redhat.com
Thu Feb 23 15:39:05 UTC 2012


Attaching patch

On 02/23/2012 04:34 PM, Petr Vobornik wrote:
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0095-Fixed-selection-of-single-value-in-combobox.patch
Type: text/x-patch
Size: 2608 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120223/c3bb8c2e/attachment.bin>


More information about the Freeipa-devel mailing list