Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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
Comment #1
david_garcia CreditAttribution: david_garcia commentedSo, 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.
Comment #2
delacosta456 CreditAttribution: delacosta456 commentedhi
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
Comment #3
mikeytown2 CreditAttribution: mikeytown2 commented@delacosta456
Are you using drupal_add_js() inside of hook_js_alter()?
Comment #4
delacosta456 CreditAttribution: delacosta456 commentedhi
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
Comment #5
mikeytown2 CreditAttribution: mikeytown2 commented@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.
Comment #6
delacosta456 CreditAttribution: delacosta456 commentedhi
ok thanks