From: kurund Date: Tue, 2 Dec 2014 10:40:11 +0000 (+0530) Subject: removed debug message X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=bd551bb32e83a4ce98aeea0926dd22b59e3649d1;p=civicrm-core.git removed debug message --- diff --git a/templates/CRM/Contribute/Form/Contribution/OnBehalfOf.tpl b/templates/CRM/Contribute/Form/Contribution/OnBehalfOf.tpl index b28925e8e7..3fe53cd702 100644 --- a/templates/CRM/Contribute/Form/Contribution/OnBehalfOf.tpl +++ b/templates/CRM/Contribute/Form/Contribution/OnBehalfOf.tpl @@ -221,7 +221,7 @@ function setLocationDetails(contactID , reset) { success : function(data, status) { for (var ele in data) { if (cj("#"+ ele).hasClass('crm-chain-select-target')) { - cj("#"+ ele).data('newVal', data[ele].value).off('.autofill').on('crmOptionsUpdated.autofill', function() {console.log(this.id, cj(this).data('newVal')); + cj("#"+ ele).data('newVal', data[ele].value).off('.autofill').on('crmOptionsUpdated.autofill', function() { cj(this).off('.autofill').val(cj(this).data('newVal')).change(); }); }