{/if}
{literal}
<script type="text/javascript">
-var CRM = CRM || {};
-CRM.buildCustomData = function( type, subType, subName, cgCount, groupID, isMultiple )
-{
+CRM.buildCustomData = function( type, subType, subName, cgCount, groupID, isMultiple ) {
var dataUrl = {/literal}"{crmURL p=$urlPath h=0 q='snippet=4&type='}"{literal} + type;
if ( subType ) {
storage[id] = cj(this).detach();
}
});
- target.html(response);
+ target.html(response).trigger('crmLoad');
target.children().each(function() {
var id = cj(this).attr('id');
if (id && storage[id]) {