function browse() {
$resourceManager = CRM_Core_Resources::singleton();
if (!empty($_GET['new']) && $resourceManager->ajaxPopupsEnabled) {
- $resourceManager->addScriptFile('civicrm', 'js/crm.addNew.js', 999);
+ $resourceManager->addScriptFile('civicrm', 'js/crm.addNew.js', 999, 'html-header');
}
$ufField = array();
}
/**
- * edit CiviCRM Profile data.
+ * Edit CiviCRM Profile data.
*
* editing would involved modifying existing fields + adding data to new fields.
*
/**
* Preview custom field
*
- * @param $fieldId
- * @param $groupId
- *
- * @internal param int $id custom field id
+ * @param int $fieldId custom field id
+ * @param int $groupId
*
* @return void
* @access public