Menu code cleanup in preparation for switch to SmartMenus library
authorColeman Watts <coleman@civicrm.org>
Tue, 13 Nov 2018 16:20:41 +0000 (11:20 -0500)
committerColeman Watts <coleman@civicrm.org>
Tue, 13 Nov 2018 16:20:41 +0000 (11:20 -0500)
commitc7e39a797fcc4fc2fd9e71bf5de4e4b081541046
tree3940a96b103640849bcd3df77dbceabf70a70fa4
parentfbe4631cea1ac3fb99c461643e952661b5f84e44
Menu code cleanup in preparation for switch to SmartMenus library

- Add a couple client side variables
- Fix access to functions that were private for no reason
- Extract permissions check into its own function
- Fire crmLoad event when menu loads
CRM/Core/BAO/Navigation.php
CRM/Core/Resources.php
js/crm.drupal7.js
js/crm.drupal8.js
templates/CRM/common/l10n.js.tpl
templates/CRM/common/navigation.js.tpl