X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2Fcommon%2FbatchCopy.tpl;h=1febb52fc654f6f316710834b4c18dd3db4d1a06;hb=8fb8e7a0be0f94af94d4dc310dc609e11ad0549f;hp=342eb5f7285f2d4ea678bcd747c35b9c53cdec45;hpb=5afcf74389296764bd92ed3bc3b2f5f209933bfe;p=civicrm-core.git diff --git a/templates/CRM/common/batchCopy.tpl b/templates/CRM/common/batchCopy.tpl index 342eb5f728..1febb52fc6 100644 --- a/templates/CRM/common/batchCopy.tpl +++ b/templates/CRM/common/batchCopy.tpl @@ -2,7 +2,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2018 | + | Copyright CiviCRM LLC (c) 2004-2019 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -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();