From: JKingsnorth Date: Fri, 22 Apr 2016 12:20:50 +0000 (+0100) Subject: Merge - Fix more leftover references to 'location' X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c3b93f4394f6fb7697bee6374a25b080df5e1f38;p=civicrm-core.git Merge - Fix more leftover references to 'location' --- diff --git a/templates/CRM/Contact/Form/Merge.tpl b/templates/CRM/Contact/Form/Merge.tpl index 0699aa4652..30c6344684 100644 --- a/templates/CRM/Contact/Form/Merge.tpl +++ b/templates/CRM/Contact/Form/Merge.tpl @@ -229,12 +229,12 @@ // If the location was changed, lookup the type if it exists if (type == 'locTypeId') { locTypeId = element.value; - typeTypeId = CRM.$( 'select#location_' + blockname + '_' + blockId + '_typeTypeId' ).val(); + typeTypeId = CRM.$( 'select#location_blocks_' + blockname + '_' + blockId + '_typeTypeId' ).val(); } // Otherwise the type was changed, lookup the location if it exists else { - locTypeId = CRM.$( 'select#location_' + blockname + '_' + blockId + '_locTypeId' ).val(); + locTypeId = CRM.$( 'select#location_blocks_' + blockname + '_' + blockId + '_locTypeId' ).val(); typeTypeId = element.value; }