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

  • Posts: 28
  • Thank you received: 0
12 years 5 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: 81363
  • Thank you received: 13037
  • MODERATOR
12 years 5 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
12 years 5 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: 12 years 5 months ago by jerome-b.

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

Time to create page: 0.059 seconds
Powered by Kunena Forum