|
From: Laurence R. <l...@lr...> - 2011-07-30 20:12:54
|
On 30 July 2011 21:09, Roel Bruggink <ro...@fo...> wrote: > On Tue, Jul 26, 2011 at 7:23 PM, David Glick <dav...@gr...> > wrote: >> >> On 7/25/11 11:44 AM, Jon Stahl wrote: >>> >>> That got it working, thanks! >>> >>> FYI, Chosen works quite nicely on PFG forms, but it seems to mess up >>> some of Plone's default editing widgets, e.g. the orderable in-out >>> widget we use on collection table columns, as well as our date >>> pickers. Overall, though, very cool. I think this is definitely >>> worth exploring a bit more. >>> >> I imagine that if we chose to include this in Plone, we would apply the >> transformation only to selectboxes marked with a particular CSS class. >> David > > I'll add custom selectors, stored in the registry. This way we can set a > default that does everything, but still keep specific selects out. This sounds like overkill to me. Couldn't you just separate out the JS which applies it to a separate file so people can customise that if they need to? Laurence |