Skip to main content

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

More
14 years 11 months ago #26603 by jerome-b
Hi,

I use DJslider on hikashop (like on the demo site) but on the checkout page, the firefox console warns me :
Code:
$('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.

More
14 years 11 months ago #26610 by nicolas
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.

More
14 years 11 months ago - 14 years 11 months ago #26611 by jerome-b
You got it !

Thanks


P.S. Will this be fixed in the next update or should I make a backup file?
Last edit: 14 years 11 months ago by jerome-b.

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

Time to create page: 0.143 seconds
Powered by Kunena Forum