Does not add js when logged out when using block caching
sgriffin - May 29, 2009 - 18:59
| Project: | Dynamic Persistent Menu |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Drupal 6.12
I turned off block caching for the fix, so this is FYI for someone.
drupal_add_js("overMenuDefault = 'dynamic-persistent-menu-sub-menu". $over_menu_default ."';", 'inline');
drupal_add_js("subMenuTimeout = $timeout;", 'inline');
drupal_add_js(drupal_get_path('module', 'dynamic_persistent_menu') .'/dynamic_persistent_menu.js');
#1
Fixed in the DRUPAL-6--1 branch. I changed the code so that dsm blocks are never put in cache because it causes lot of problems (i18n, etc.)
#2
Automatically closed -- issue fixed for 2 weeks with no activity.