From 72c30c2610c0aec8aed28360b6b17cedf739a9c8 Mon Sep 17 00:00:00 2001 From: JKingsnorth Date: Fri, 22 Apr 2016 14:04:11 +0100 Subject: [PATCH] Merge - Fix even more leftover references to 'location' --- templates/CRM/Contact/Form/Merge.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/CRM/Contact/Form/Merge.tpl b/templates/CRM/Contact/Form/Merge.tpl index 30c6344684..dda4617e9a 100644 --- a/templates/CRM/Contact/Form/Merge.tpl +++ b/templates/CRM/Contact/Form/Merge.tpl @@ -259,14 +259,14 @@ // Set label var label = '({/literal}{ts}overwrite{/ts}{literal}) '; if (blockname == 'email' || blockname == 'phone') { - var opLabel = 'location[' + blockname + '][' + blockId + '][operation]'; + var opLabel = 'location_blocks[' + blockname + '][' + blockId + '][operation]'; label += '
'; } label += '
'; } // Update DOM - CRM.$( "input[name='location[" + blockname + "][" + blockId + "][mainContactBlockId]']" ).val( mainBlockId ); + CRM.$( "input[name='location_blocks[" + blockname + "][" + blockId + "][mainContactBlockId]']" ).val( mainBlockId ); CRM.$( "#main_" + blockname + "_" + blockId ).html( mainBlockDisplay ); CRM.$( "#main_" + blockname + "_" + blockId + "_overwrite" ).html( label ); } -- 2.25.1