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');

Comments

willieseabrook’s picture

See attached patch.

kristen pol’s picture

Thanks! I added in that code in haste and wasn't thinking... I will apply right now.

Kristen

kristen pol’s picture

Assigned: Unassigned » kristen pol
Status: Active » Fixed

Created a beta2 with all your patches. I also took out the drupal_add_js/css from the .admin.inc file.

Thanks again,
Kristen

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

kristen pol’s picture

Assigned: kristen pol » Unassigned
Issue summary: View changes

cleaning up my issues list