The issue described here:

https://drupal.org/node/1407564

Reappears when aggregation is enabled with this module.

----------------------------------

Permissions tables on both on main permissions management screen and when using the field permission module, simply vanish from the interface due to a Javascript problem.

The original issue has a working patch, but the patch seems not to be compatible with Advanced JSS agreggation.

Comments

david_garcia’s picture

Status: Active » Closed (works as designed)

So, the problem source is that there was a call to drupal_add_js inside hook_js_alter.

As per the documentation:

Note that hook_js_alter(&$javascript) is called during this function call to allow alterations of the JavaScript during its presentation. Calls to drupal_add_js() from hook_js_alter() will not be added to the output presentation. The correct way to add JavaScript during hook_js_alter() is to add another element to the $javascript array, deriving from drupal_js_defaults(). See locale_js_alter() for an example of this.

So it is not a bug for this module.

delacosta456’s picture

hi
i am having this problem too, and don't have this module either logintoboggan enable.. i have uninstall them and cleared everything, delected all folders

mikeytown2’s picture

@delacosta456
Are you using drupal_add_js() inside of hook_js_alter()?

delacosta456’s picture

hi
specially on my own side no ;

i made a search of drupal_add_js" in my whole site/all/modules directory which return a lot of module's files ins which it is used .

searching hook_js_alter() does nott return anything

thanks

mikeytown2’s picture

@delacosta456
If you're not using AdvAgg, your best bet is to use http://drupal.stackexchange.com/ as this seems like a problem that I can't help you with.

delacosta456’s picture

hi

ok thanks