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

  • Posts: 28
  • Thank you received: 0
13 years 1 month 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: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 1 month 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
13 years 1 month 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: 13 years 1 month ago by jerome-b.

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

Time to create page: 0.056 seconds
Powered by Kunena Forum