Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
6.x-1.x-dev
Component:
Plugins system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Jun 2011 at 20:16 UTC
Updated:
29 Feb 2012 at 02:00 UTC
Originally raised in #1155920: BEF needs to respect Views' new auto-submit functionality in the Better Exposed Filters queue. The attached patch would allow CTools auto-submit code to trigger on checkboxes and radio buttons as well as select and input elements.
| Comment | File | Size | Author |
|---|---|---|---|
| auto-submit.patch | 712 bytes | mikeker |
Comments
Comment #1
merlinofchaos commentedCommitted. Thanks!
Comment #3
mdupontIt would be good to apply this patch to 6.x too. The code is exactly the same and applying the above patch worked for me™, allowing to use CTools auto-submit with checkboxes, for instance when using Better Exposed Filters and Views 3.
Comment #4
nod_#1324238: Not all views exposed forms auto-submit correctly (was: Clean up and improve auto-submit.js0 this one is better™ :þ
And the fix here is actually wrong.
Comment #5
mikeker commented@nod_, not exactly wrong... though not as elegant as your patch in #1324238: Not all views exposed forms auto-submit correctly (was: Clean up and improve auto-submit.js0. Unless I'm missing something?
Though this one has the advantage of being committed! :)
Comment #6
nod_I was talking about
*[type!=input]I don't believe any element have atype=inputso the selector actually match any DOM element. not just inputs.Comment #7
mikeker commentedHoly crap!
I'm not sure how I did that... It should be [type!=text], not [type!=input]. Fortunately, the binding for text elements follows the binding for everything, but nod_ is correct that this patch binds against an overly broad scope of elements.
Anyone following this or wanting it backported to D6 should take a look at #1324238: Not all views exposed forms auto-submit correctly (was: Clean up and improve auto-submit.js0, which also has a D6 patch.
Thanks for pointing that out, nod_