},
'#editCaseRoleDialog': {
pre: function(data) {
+ // Clear stale value since this form can be reused multiple times
+ $('[name=edit_role_contact_id]', this).val('');
prepareRelationshipField(data.rel_type, $('[name=edit_role_contact_id]', this));
},
post: function(data) {
{/if}
<div id="editCaseRoleDialog" class="hiddenElement">
- <div><label for="edit_role_contact_id">{ts}Change To{/ts}:</label></div>
+ <div><label for="edit_role_contact_id">{ts}Change To{/ts} <span class="crm-marker">*</span></label></div>
<div><input name="edit_role_contact_id" placeholder="{ts}- select contact -{/ts}" class="huge" /></div>
</div>
<div id="caseRoles-selector-show-active">