Closed (fixed)
Project:
Collapse Text
Version:
6.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
30 Jan 2011 at 03:47 UTC
Updated:
13 Apr 2011 at 16:01 UTC
I am using this module in a panel on the node / edit form. When I have a nodereference field or a file upload button while using a collapsible field from this module on the same pages, the nodereference or file fields upload when i press the add more items or upload buttons.
This ONLY happens when i am using a collapsible token in the same page, and immediately goes away when i take it out.
The weird thing is it ONLY does it in Internet Explorer. its kind of like an AHAH error or something
Comments
Comment #1
Exploratus commentedchange title
Comment #2
pukku commentedI don't know what would be causing this. However, I have just posted a new version that takes a rather different approach, so it may solve your problem?
Comment #3
pukku commentedThis module introduces a new form into the page, and my guess is that this is confusing the AJAX stuff for the other form. Especially where panels is involved, I think things can get really complicated quickly.
One possibility, if you know something about coding, would be to use the theme layer to change
theme_collapse_text_form, and change how it renders. My guess is that you could change the#typeof the element to something likeitem, and thendrupal_render()that element (you may need to modify a few other keys to make it work right...).Ricky
Comment #4
pukku commentedI just posted a new version (6.x-2.5) which may fix this. This version allows you to turn off the extra form tag by adding '
[collapse options form="noform"]' to the start of the text which shouldn't have a form.Please let me know if this works for you.
Ricky
Comment #5
pukku commentedMarking this as fixed, as I haven't heard from the author, and I think the
[collapse options form="noform"]should fix this problem.Comment #6
pukku commentedDoh! Need to actually make the change in status...