Javascript and css are being added by function calls that aren't enclosed by any function.
Thus they are being added in the wrong order and causing javascript errors - especially with jquery.
drupal_add_js(drupal_get_path('module', 'featured_content') . '/featured_content.js');
drupal_add_css(drupal_get_path('module', 'featured_content') . '/featured_content.css');
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1200836-javascript-errors-unenclosed-drupaladdjs.patch | 773 bytes | willieseabrook |
Comments
Comment #1
willieseabrook commentedSee attached patch.
Comment #2
kristen polThanks! I added in that code in haste and wasn't thinking... I will apply right now.
Kristen
Comment #3
kristen polCreated a beta2 with all your patches. I also took out the drupal_add_js/css from the .admin.inc file.
Thanks again,
Kristen
Comment #5
kristen polcleaning up my issues list