From 15e1b48d8cad228f7fa955cfb783517603281eae Mon Sep 17 00:00:00 2001 From: Monish Deb Date: Tue, 16 Apr 2019 18:22:54 +0530 Subject: [PATCH] dev/core#338: Batch update membership type --- 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 bb7bb1d179..1febb52fc6 100644 --- a/templates/CRM/common/batchCopy.tpl +++ b/templates/CRM/common/batchCopy.tpl @@ -98,7 +98,7 @@ }); } else { - if (elementId.is('select') === true && firstElement.parent().find(':input').select().index() >= 1 && firstElement.parent().find('select').select().index < 1) { + if (elementId.is('select') === true && firstElement.parent().find(':input').select().index() >= 1 && firstElement.parent().find('select').select().length > 1) { // its a multiselect case firstElement.parent().find(':input').select().each( function(count) { var firstElementValue = $(this).val(); -- 2.25.1