From: JKingsnorth Date: Thu, 24 Mar 2016 14:35:39 +0000 (+0000) Subject: CRM-18288: Fix mergeBlock JS for location types X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d9b043a1f45556f186934d9f191f2ffb8bfca6a9;p=civicrm-core.git CRM-18288: Fix mergeBlock JS for location types --- diff --git a/templates/CRM/Contact/Form/Merge.tpl b/templates/CRM/Contact/Form/Merge.tpl index 96f23c585c..6e569d5e82 100644 --- a/templates/CRM/Contact/Form/Merge.tpl +++ b/templates/CRM/Contact/Form/Merge.tpl @@ -227,7 +227,7 @@ // If the location was changed, lookup the type if it exists if (type == 'locTypeId') { locTypeId = element.value; - typeTypeId = CRM.$( 'select#type_' + blockname + '_' + blockId + '_typeTypeId' ).val(); + typeTypeId = CRM.$( 'select#location_' + blockname + '_' + blockId + '_typeTypeId' ).val(); } // Otherwise the type was changed, lookup the location if it exists