Fix undefined function js error
authorColeman Watts <coleman@civicrm.org>
Mon, 12 Aug 2013 22:40:10 +0000 (15:40 -0700)
committerColeman Watts <coleman@civicrm.org>
Mon, 12 Aug 2013 22:40:10 +0000 (15:40 -0700)
templates/CRM/Event/Form/SearchEvent.tpl
tools/templates/CRM/Auction/Form/SearchAuction.tpl

index aa7c1e9b6bc378bcdf4b531ce602ccc66720003c..ad100955034f38515bb783bfb600d4b9035ea764 100644 (file)
@@ -71,7 +71,7 @@
 {literal} 
 <script type="text/javascript">
 if ( document.getElementsByName('eventsByDates')[1].checked ) {
-   show( 'id_fromToDates', 'block' );
+  cj('#id_fromToDates').show();
 }
 </script>
 {/literal} 
index 7f493598fc5255d7061eab2255a9ee3e9b9f8056..e01ebc5bec6f08ce92dd65431f1861921d843fe9 100644 (file)
@@ -66,7 +66,7 @@
 {literal} 
 <script type="text/javascript">
 if ( document.getElementsByName('auctionsByDates')[1].checked ) {
-   show( 'id_fromToDates', 'block' );
+  cj('#id_fromToDates').show();
 }
 </script>
-{/literal} 
\ No newline at end of file
+{/literal}