{*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
</div>
{/if}
{if ($action EQ 1) OR ($action EQ 2) }
- {*include custom data js file - setting includeWysiwygEditor=TRUE because it's already been loaded*}
- {include file="CRM/common/customData.tpl" includeWysiwygEditor=TRUE}
+ {*include custom data js file *}
+ {include file="CRM/common/customData.tpl"}
<script type="text/javascript">
{literal}
CRM.$(function($) {
if (contact_sub_type) {
api.params.contact_sub_type = contact_sub_type;
}
- // Todo: pass sub-type to new contact profile otherwise relationship create will fail. Disabling it completely for now.
- $contactField.data('create-links', !contact_sub_type);
$contactField
.val('')
.prop('disabled', false)
.data('api-params', api)
+ .data('user-filter', {})
.attr('placeholder', relationshipData[rType]['placeholder_' + target])
.change();
}