From bd8af239d2ee51e71e46dd50217b4498f66f4a2d Mon Sep 17 00:00:00 2001 From: atif-shaikh Date: Tue, 1 Jul 2014 18:20:31 +0530 Subject: [PATCH] CRM-14927 - Batch update via Profile - copy icon fails for fields of 'select' type https://issues.civicrm.org/jira/browse/CRM-14927 --- templates/CRM/common/batchCopy.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/common/batchCopy.tpl b/templates/CRM/common/batchCopy.tpl index 5582e9e0e8..8103142b1f 100644 --- a/templates/CRM/common/batchCopy.tpl +++ b/templates/CRM/common/batchCopy.tpl @@ -139,7 +139,7 @@ } } else { - if (elementId.is('select') === true && firstElement.parent().find(':input').select().index() >= 1) { + if (elementId.is('select') === true && firstElement.parent().find(':input').select().index() >= 1 && firstElement.parent().find('select').select().index < 1) { // its a multiselect case firstElement.parent().find(':input').select().each( function(count) { var firstElementValue = cj(this).val(); -- 2.25.1