From bd551bb32e83a4ce98aeea0926dd22b59e3649d1 Mon Sep 17 00:00:00 2001 From: kurund Date: Tue, 2 Dec 2014 16:10:11 +0530 Subject: [PATCH] removed debug message --- templates/CRM/Contribute/Form/Contribution/OnBehalfOf.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }); } -- 2.25.1