$('radio_paypal_1').addEvent is not a function

  • Posts: 28
  • Thank you received: 0
10 years 10 months ago #26603

Hi,

I use DJslider on hikashop (like on the demo site) but on the checkout page, the firefox console warns me :

$('radio_paypal_1').addEvent is not a function
and the slide is blocked on the ajax loader image...

Any explanation ?

Jérôme

Please Log in or Create an account to join the conversation.

  • Posts: 76114
  • Thank you received: 11912
  • MODERATOR
10 years 10 months ago #26610

Could you try to change the line:
$js.="$('radio_".$method->payment_type.'_'.$method->payment_id."').addEvent('click', function(e){

to:
$js.="document.id('radio_".$method->payment_type.'_'.$method->payment_id."').addEvent('click', function(e){

in the file components/com_hikashop/views/checkout/view.html.php and try again ?

Please Log in or Create an account to join the conversation.

  • Posts: 28
  • Thank you received: 0
10 years 10 months ago #26611

You got it !

Thanks


P.S. Will this be fixed in the next update or should I make a backup file?

Last edit: 10 years 10 months ago by jerome-b.

Please Log in or Create an account to join the conversation.

Time to create page: 0.054 seconds
Powered by Kunena Forum