Commit a3801280 authored by colemanw's avatar colemanw

Merge pull request #8021 from JKingsnorth/CRM-18288

CRM-18288: Fix mergeBlock JS for location types
parents c4b857d6 d9b043a1
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment