ec_common.module, ec_common_preprocess_page() function:
It deletes the original ahah.js and tabledrag.js links, but it doesn't create the self links.
Sort fix: Comment out this line:
//$variables['scripts'] = drupal_get_js('header', $scripts);
ec_common.module, ec_common_preprocess_page() function:
It deletes the original ahah.js and tabledrag.js links, but it doesn't create the self links.
Sort fix: Comment out this line:
//$variables['scripts'] = drupal_get_js('header', $scripts);
Comments
Comment #1
gordon commentedIt does do this, it is 3 lines above the one that you say to comment out.
Comment #2
foripepe commentedI have tested this code, and
$variables['scripts'] = drupal_get_js('header', $scripts)
doesn't put the new sources of scripts to my environment, just delete them.
I will test it later, and I will write some details.
Comment #3
foripepe commentedOk, I have tested, and I was wrong. The ec doesn't delete the js files.
What I see now, if I turn on the eC Common module, it brokes CCK / FileField / ImageField ahah function.
I tried to replace the ec_common/js files with the misc files, but I get the same error.
Short fix:
//$variables['scripts'] = drupal_get_js('header', $scripts);
Comment #4
burningdog commented@foripepe: so to clarify, if you turn on the ec Common module, it breaks the FileField and ImageField ahah functions? What happens when you use those widgets - do they simply stop working?
Comment #5
gordon commentedThis has now been fixed in dev.