Skip to main content

Joomla 1.6 - Select Button - Javascript Error

More
15 years 9 months ago #3822 by brainforge
Display / Content Menus / ...
Click on Select button get following error:

uncaught exception: [Exception... "Could not convert JavaScript argument arg 0 [nsIDOM3Node.compareDocumentPosition]" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: http://brain-home2/Jonathan/Joomla%201.6/media/system/js/mootools-core.js :: anonymous :: line 2176" data: no]

following Ajax GET.

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

More
15 years 9 months ago #3823 by nicolas
It seems to be a new bug with joomal 1.6... If you try to load a popup dynamically with the code SqueezeBox.fromElement(this); it throws that error...That's shouldn't be the case since it's the standard way of loading popups dynamically with the modal library of mootools.
Not sure if we can fix that on our end.
For the "parent category" popup, no problem, we can just remove it and use the standard way of loading popups.
But for the associated modules popup, the link URL is changed dynamically and thus needs to be loaded dynamically.

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

More
15 years 9 months ago #3824 by nicolas
After some digging,

It seems that by changing the code:
SqueezeBox.fromElement(this);
to:
SqueezeBox.fromElement(this,{parse:'rel'});
It works for both joomla 1.5 and joomla 1.6

Could you confirm that on your end by editing the file adminsitrator/components/com_hikashop/views/menus/tmpl/form.php and doing that change ?
For us, that did the job.

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

More
15 years 9 months ago #3830 by brainforge
Work for me as well in both 1.5 and 1.6.

Also had to make same change in:
administrator/components/com_hikashop/views/modules/tmpl/form.php

Thanks.

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

Time to create page: 0.183 seconds
Powered by Kunena Forum