X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2Fcommon%2FbatchCopy.tpl;h=1febb52fc654f6f316710834b4c18dd3db4d1a06;hb=8fb8e7a0be0f94af94d4dc310dc609e11ad0549f;hp=bb7bb1d17911ab2f02c889e887dace7d3313d63d;hpb=fa3cdb8efb79c28c9f425543815556f6cfefe9ac;p=civicrm-core.git 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();