----------------------------------------
* CRM-15804: CiviEvent Date Picker broken in modal dialog
https://issues.civicrm.org/jira/browse/CRM-15804
{/if}
{* CRM-15804 - CiviEvent Date Picker broken in modal dialog *}
-{if $snippet}
- {assign var='dialog' value='_dialog'}
-{/if}
-
-{assign var='displayDate' value=$elementId|cat:"_display$dialog"}
+{assign var='displayDate' value=$elementId|cat:"_display"|cat:"_$string"|uniqid}
{if $action neq 1028}
<input type="text" name="{$displayDate}" id="{$displayDate}" class="dateplugin" autocomplete="off"/>