Skip to content
Snippets Groups Projects
Commit 593c1267 authored by Dakshayani Chinchwadkar's avatar Dakshayani Chinchwadkar
Browse files

-- HR-130 code improvment

parent 8133bcd0
No related branches found
No related tags found
No related merge requests found
......@@ -31,8 +31,9 @@
var activeContactId = null;
// For organization autocomplete
if($(this).attr('autocompleteType') == 'org') {
var urlParams = urlParams + '&org=1';
if($(this).attr('urlParam')) {
var param = $(this).attr('urlParam');
var urlParams = urlParams + '&' + param;
}
var contactUrl = CRM.url('civicrm/ajax/rest', urlParams);
var setContactId = function(newContactId) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment