if i try to use dependent, all collapsible fields in the node edit mode are not collapsible anymore and furthermore collapsed, so that i can't define any node settings. this bug is also on nodes without using dependent fields.

Comments

Tamar Badichi-Levy’s picture

Sorry kev52, but it is hard for me to reproduce your bug. Can you explain in more details the steps you have taken and how can I reproduce it?
Best wishes,
Ofir.

kev52’s picture

i have just installed the modul and created some dependet fields. Later I noticed, that in edit mode the collapsible fields are not collapsible anymore.

phayes’s picture

This is a javascript error - i am getting it also.

error is as follows:

ret[ret.length - 1] is undefined
jquery.js
Line 2
kev52’s picture

is there any solution for this error

Tamar Badichi-Levy’s picture

Sorry for not being around for a while.
Can you export you cck type so I can test it myself?
What version of jquery are you using? I test the module on the 1.2.1 version (using the jquery_update module).

Best wishes,
Ofir.

twall411’s picture

I have had the same problem and have tried both beta versions. When I activate this module I cannot edit any content because all collapsible fields are collapsed and inactive. I installed the dependent module and then the jquery update module. I initially believed the problem to have been with jquery so I reverted to the original. Only after removing the dependent module did I get my collapsible menus working. I reinstalled jquery update. When the beta 2 came out I installed it and immediately lost collapsible menus in edit mode again. I am new to Drupal, so what do I need to do to provide you with the information on my system that you need.

szegedi’s picture

Hi!
I try to use the dependent module, and I realised the same problem then the others here. When I install and enable the module, I lost every field in story and page content type if I try to make a new one, or edit an old one. I can see the field names (attach, comment settings, url settings, menu, autoring, publishing), but tehy aren't active any more, and if I switch off this module then work well again...
Thnx for your help...
Szg
ps: using core 5.7, PHP4, CCk 5.x-1.7, dependent 5.x-1.4 beta
on the other hand: it works well as a cck module...:), good work, please coorect this bug... THNX

Tamar Badichi-Levy’s picture

As far as I know. My code is php5 compatible. Can you check if this is the problem?

Tamar Badichi-Levy’s picture

Can I mark this issue as fixed?

cakka’s picture

Hi, i get this same problem. The reason for this is jquery.js .
File JQuery.js from Drupal is crash with JQuery from other module.

Tamar Badichi-Levy’s picture

The module currently suppotrs jQuery 1.2.1.