From: atif-shaikh Date: Tue, 13 Jan 2015 06:18:34 +0000 (+0530) Subject: CRM-15804 - CiviEvent Date Picker broken in modal dialog X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d348460aea934661f90aef5815acce0edb46ca13;p=civicrm-core.git CRM-15804 - CiviEvent Date Picker broken in modal dialog https://issues.civicrm.org/jira/browse/CRM-15804 --- diff --git a/templates/CRM/common/jcalendar.tpl b/templates/CRM/common/jcalendar.tpl index 5ad307a856..2544df9713 100644 --- a/templates/CRM/common/jcalendar.tpl +++ b/templates/CRM/common/jcalendar.tpl @@ -49,7 +49,12 @@ {$form.$elementName.html} {/if} -{assign var='displayDate' value=$elementId|cat:"_display"} +{* 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"} {if $action neq 1028}