Skip to content

Commit

Permalink
dev/core/482 standardize contact edit form delete block behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
elisseck committed Nov 29, 2018
1 parent a1d4f74 commit 810bb99
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions templates/CRM/Contact/Form/Edit/Website.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@
<tr id="Website_Block_{$blockId}">
<td>{$form.website.$blockId.url.html|crmAddClass:url}&nbsp;</td>
<td>{$form.website.$blockId.website_type_id.html}</td>
<td colspan="3"><a href="#" title="{ts}Delete Website Block{/ts}" onClick="removeBlock('Website','{$blockId}'); return false;">{ts}delete{/ts}</a></td>
{if $blockId gt 1}
<td colspan="3"><a href="#" title="{ts}Delete Website Block{/ts}" onClick="removeBlock('Website','{$blockId}'); return false;">{ts}delete{/ts}</a></td>
{/if}
</tr>
{if !$addBlock}
<tr>
Expand All @@ -50,4 +52,3 @@
</td>
</tr>
{/if}

0 comments on commit 810bb99

Please sign in to comment.