Commit d9b043a1 authored by JKingsnorth's avatar JKingsnorth

CRM-18288: Fix mergeBlock JS for location types

parent c4b857d6
......@@ -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