New answers tagged

2

If you want to use CRM.checkPerm() JS function than you will need to add permission using hook and than it will be catched in CRM.checkPerm() js function. eg: In hook function extname_civicrm_buildForm($formName, &$form) { if ('Some_FormName' == $formName) { CRM_Core_Resources::singleton()->addPermissions('administer CiviCRM'); } } and than ...


Top 50 recent answers are included