Skip to content
Snippets Groups Projects
Commit 4822aed2 authored by Dave Greenberg's avatar Dave Greenberg
Browse files

Merge pull request #1383 from pratik-joshi/CRM-13143-fix

CRM-13143 contact reference field issue fix : the referencing for customIdObj was incorrect i.e. it was refering to corrupt element object, thus 'id' value was not getting stored in the correct element object so the formRule error was thrown of 'Invalid C
parents 852e7fce 60039edd
Branches
Tags
No related merge requests found
......@@ -37,8 +37,8 @@ cj( function( ) {
customObj.autocomplete( url,
{ width : 250, selectFirst : false, elementId: custom, matchContains: true, formatResult: {/literal}validate{$element_name|replace:']':''|replace:'[':'_'|replace:'-':'_'}{literal}
}).result(
function(event, data ) {
customIdObj.val( data[1] );
function(event, data) {
cj(custom_id).val(data[1]);
}
);
customObj.click( function( ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment