{*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
<div class="compressed crm-grid-cell"><span class="batch-edit"></span></div>
{* contact select/create option*}
<div class="compressed crm-grid-cell">
- {include file="CRM/Contact/Form/NewContact.tpl" blockNo = $rowNumber noLabel=true prefix="primary_" newContactCallback="updateContactInfo($rowNumber, 'primary_')"}
+ {$form.primary_contact_id.$rowNumber.html|crmAddClass:big}
</div>
{if $batchType eq 2 }
</div>
{elseif $n eq 'soft_credit'}
<div class="compressed crm-grid-cell">
- {include file="CRM/Contact/Form/NewContact.tpl" blockNo = $rowNumber noLabel=true prefix="soft_credit_"}
+ {$form.soft_credit_contact_id.$rowNumber.html|crmAddClass:big}
{$form.soft_credit_amount.$rowNumber.label} {$form.soft_credit_amount.$rowNumber.html|crmAddClass:eight}
</div>
{elseif in_array( $fields.$n.html_type, array('Radio', 'CheckBox'))}
</div>
{literal}
<script type="text/javascript">
-cj(function () {
+CRM.$(function($) {
cj('.selector-rows').change(function () {
var options = {
'url': {/literal}"{crmURL p='civicrm/ajax/batch' h=0}"{literal}