search and check twice a role in sharing view in Plone 4.3
Vincent Fretin <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Message-ID | <CAD=kyd9wyiruu_aH4UMy2N_pbmVOrmBiUzC20H2=q3yg3jof_g@mail.gmail.com> |
Hi,
I find something annoying in the jquery reimplementation of sharing search
in Plone 4.3.2-pending.
I tested with Firefox 23 and Chromium 28.
Go to the sharing tab, do a search but don't click the button and don't
press enter, and check a role in the results, it will be unchecked right
away because there is a change event triggered when the search input lose
the focus.
In kss-bbb.js, we have
$('#content-core').delegate('#sharing-user-group-search', 'change input',
function()
Is there a reason we use the change event here?
Can we remove the change event and just use the input event?
This fixes the issue. I didn't test on IE.
Vincent Fretin
Ecreall
http://www.ecreall.com
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Plone-developers mailing list
Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/plone-developers