Closed (fixed)
Project:
Webform Conditional (Same Page Conditionals)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2012 at 16:32 UTC
Updated:
19 Mar 2012 at 08:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
tedbowPlease be more specific. by "Ajax pages" what exactly are you refering to? The more detail about your set up the better
Please read this first: http://drupal.org/node/73179
Thanks
Comment #2
gecho commentedSorry.
I am using the module Webfom ajax page. When I create a "Ajax page" I can not add conditions to any of its components.
Thanks
Comment #3
tedbowSorry, demoting this to minor priority b/c deals other contribute module. Have to focus time on making sure it works with core Webform first.
Comment #4
swentel commentedBeen bitten by this as well. ajax.js reattaches all behaviors (but apparently 3 times), and somehow the "var changeFunction = function() {" isn't called anymore after such a refresh. Trying to debug some more.
I'm using the ajax submit from this sandbox: http://drupal.org/sandbox/alex.designworks/1446550 (but I guess it's the same principle of ajax page).
Comment #5
bear_beavis commentedHi, i got the same issue with version 6.x-1.0, using my own ajax code.
It seems that the issue is about objects being created outside behavior code.
I've made a patch against 6.x-1.0 webform_conditional.js to solve this issue.
Comment #6
tedbow@bear_beavis, thanks for the patch. I committed this to 6.x dev branch
btw - you may want to check out http://drupal.org/node/707484 for recommendations for patch naming. Just makes it easier for project maintainers. Thanks again.
Comment #7
tedbowI also committed this 7.x dev branch. If someone who is having this problem in 7 can please test.
Here is the direct link to update module: http://drupalcode.org/project/webform_conditional.git/snapshot/aaff3159b...
Comment #8
swentel commentedWorks perfectly for 7.x as well, thanks!