Skip to content

Commit

Permalink
PROV-2427 Make change stick
Browse files Browse the repository at this point in the history
  • Loading branch information
collectiveaccess committed Apr 18, 2018
1 parent 435e2e5 commit 69f4424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/ca/ca.relationbundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ var caUI = caUI || {};
});

// select default
jQuery('#' + options.itemID + id + ' select#' + options.fieldNamePrefix + 'type_id' + id + " option[value=\"" + values['relationship_type_id'] + "\"]").prop('selected', true);
jQuery('#' + options.itemID + id + ' select#' + options.fieldNamePrefix + 'type_id' + id + " option[value=\"" + values['relationship_type_id'] + "\"], #" + options.itemID + id + ' select#' + options.fieldNamePrefix + 'type_id' + id + " option[value=\"" + values['rel_type_id'] + "\"]").prop('selected', true);

// set current type
jQuery('#' + options.itemID + id + ' select#' + options.fieldNamePrefix + 'type_id' + id).data('item_type_id', item_type_id);
Expand Down

0 comments on commit 69f4424

Please sign in to comment.