Joomla 1.6 - Select Button - Javascript Error
- brainforge
-
Topic Author
- Offline
Less
More
15 years 9 months ago #3822
by brainforge
Joomla 1.6 - Select Button - Javascript Error was created by brainforge
Display / Content Menus / ...
Click on Select button get following error:
Click on Select button get following error:
following Ajax GET.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]
Please Log in or Create an account to join the conversation.
15 years 9 months ago #3823
by nicolas
Replied by nicolas on topic Re: Joomla 1.6 - Select Button - Javascript Error
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.
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.
15 years 9 months ago #3824
by nicolas
Replied by nicolas on topic Re: Joomla 1.6 - Select Button - Javascript Error
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.
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.
- brainforge
-
Topic Author
- Offline
15 years 9 months ago #3830
by brainforge
Replied by brainforge on topic Re: Joomla 1.6 - Select Button - Javascript Error
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.
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