First off - great module idea... just what I was looking for.
I installed the module and got it working with a couple of fields being dependent on each other - then suddenly it stopped working. I've disabled most of the other new modules that I added, to undo any conflicts, but still no love. After messing around with the javascript, it seems the section at line 11:
$(this).prev(function(){
is not executing. Unforunately, I'm not a javascript programmer, so it's tough for me to debug. I've attached the html for a simple page (one checkbox field, one text field that's dependent on the checkbox). Can you tell me if there are elements missing from the html?
Comments
Comment #1
meeotch CreditAttribution: meeotch commentedSo it looks like the problem was the jquery_update module. Dependent Fields seems to not be compatible with jquery_update. (Which coincidentally includes a file called "collapse-fix.js", and a comment that says "@todo - js to fix collapse behavior?")
I'm most definitely out of my depth at this point, so any help would be appreciated.
Comment #2
Tamar Badichi-Levy CreditAttribution: Tamar Badichi-Levy commentedIt seems the changes that occurred between the jQuery 1.1 and 1.2 might cause some problems. When I wrote the module I decided to stick with the 1.1 that comes with drupal. I'll try to look for a solution for this certain problem and release as soon as possible
Comment #3
Tamar Badichi-Levy CreditAttribution: Tamar Badichi-Levy commentedI added a new release that fixes the jquery compatability issue. Please check.
Comment #4
Tamar Badichi-Levy CreditAttribution: Tamar Badichi-Levy commentedI change this issue status to fixed.
Comment #5
meeotch CreditAttribution: meeotch commentedJust a quick update: everything seems to be working fine w/ jquery 1.2.1. Thanks for the quick fix!
Comment #6
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #7
antipix CreditAttribution: antipix commentedDisaster with jquery 1.2.6...
is it just me or i do something wrong ?
It seems that there is a problem with the jquery function hide(), i don't know why...
Comment #8
antipix CreditAttribution: antipix commentedthat's ok, i had to change the javascript file a little to make it works correctly...
i don't understand why this file had to be changed, as it was supposed to stay compatible with any version of jquery...