X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2FContact%2FForm%2FSearch%2FBuilder.js;h=4dc3523571e949d94e59e099d407dcf72bb3e06f;hb=6f4ad200d1c99a1205b297638a3dcedb09ad3e6e;hp=fd6a984c13947535d125fd947feb8af9d727ed85;hpb=5fb7a5ef138c25f95a175c08fbba564689c473c2;p=civicrm-core.git diff --git a/templates/CRM/Contact/Form/Search/Builder.js b/templates/CRM/Contact/Form/Search/Builder.js index fd6a984c13..4dc3523571 100644 --- a/templates/CRM/Contact/Form/Search/Builder.js +++ b/templates/CRM/Contact/Form/Search/Builder.js @@ -293,7 +293,7 @@ }) // Add new field - if there's a hidden one, show it // Otherwise allow form to submit and fetch more from the server - .on('click', 'input[name^=addMore]', function() { + .on('click', 'button[name^=addMore]', function() { var table = $(this).closest('table'); if ($('tr:hidden', table).length) { $('tr:hidden', table).first().show();