Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
24 Oct 2012 at 23:30 UTC
Updated:
30 Nov 2012 at 20:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
beeradb commentedThis patch fixes the issue, but could likely be improved. I attempted to add the exclusion to the .filter line (i.e. select:not(.ctools-auto-submit-exclude)) as well as refactoring all of the exclusions to an additional .filter line. The only way I was able to reliably exclude them was via the check on the e.target line.
It does feel sub-optimal to bind the event only to check for the class once the change event fires, so if there are suggestions for improvements I'm happy to re-roll with them included.
Comment #2
populist commentedI reviewed the patch in #1 and I think the approach is fine given the original functionality (i.e. ability to exclude fields from the auto-submit) doesn't seem to work with the original implementation and this is only a minor change to make it compatibility. That being said, given the self doubt in #1 not going to mark RTBC and would be helpful to have someone else weigh in.
Comment #3
merlinofchaos commentedCommitted and pushed.