CRM-18306 - Fix datepicker in batch update profiles
authorColeman Watts <coleman@civicrm.org>
Thu, 5 May 2016 20:34:28 +0000 (16:34 -0400)
committerColeman Watts <coleman@civicrm.org>
Thu, 5 May 2016 20:34:28 +0000 (16:34 -0400)
templates/CRM/Contact/Form/Task/Batch.tpl

index ceb77afef10ee667d844b9e685847d3e6ecdf196..84bae9308e06e02bcffffa506a525294d83c9965 100644 (file)
@@ -73,7 +73,7 @@
             </table>
           {/strip}
         </td>
-      {elseif ( $fields.$n.data_type eq 'Date') or ( $n eq 'birth_date' ) or ( $n eq 'deceased_date' ) }
+      {elseif ( $n eq 'birth_date' or $n eq 'deceased_date' ) }
         <td class="compressed">{include file="CRM/common/jcalendar.tpl" elementName=$n elementIndex=$cid batchUpdate=1}</td>
       {elseif $n|substr:0:5 eq 'phone'}
         <td class="compressed">