[Skip to main content](#vessel-content)

#   Joomla 1.6 - Select Button - Javascript Error

##

- **[brainforge](/forum/user/423-brainforge "View brainforge's Profile")**
- [![brainforge's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar423.jpg)](/forum/user/423-brainforge "View brainforge's Profile") Topic Author
- [ Offline](/forum/user/423-brainforge)

Less More

- Posts: 298
- Thank you received: 5
-
-
-
- [](https://brainforge.co.uk)
-

15 years 10 months ago [\#3822](#3822) by [brainforge](/forum/user/423-brainforge "View brainforge's Profile")  *[Joomla 1.6 - Select Button - Javascript Error](/forum/3-bug-report/3822-joomla-1-6-select-button-javascript-error#3822 "Display / Content Menus / ... Click on Select button get following error: following Ajax GET.")* was created by *[brainforge](/forum/user/423-brainforge "View brainforge's Profile")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zODIyLWpvb21sYS0xLTYtc2VsZWN0LWJ1dHRvbi1qYXZhc2NyaXB0LWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

15 years 10 months ago [\#3823](#3823) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Joomla 1.6 - Select Button - Javascript Error](/forum/3-bug-report/3822-joomla-1-6-select-button-javascript-error#3823 "Display / Content Menus / ... Click on Select button get following error: following Ajax GET.")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zODIyLWpvb21sYS0xLTYtc2VsZWN0LWJ1dHRvbi1qYXZhc2NyaXB0LWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

15 years 10 months ago [\#3824](#3824) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Joomla 1.6 - Select Button - Javascript Error](/forum/3-bug-report/3822-joomla-1-6-select-button-javascript-error#3824 "Display / Content Menus / ... Click on Select button get following error: following Ajax GET.")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zODIyLWpvb21sYS0xLTYtc2VsZWN0LWJ1dHRvbi1qYXZhc2NyaXB0LWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[brainforge](/forum/user/423-brainforge "View brainforge's Profile")**
- [![brainforge's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar423.jpg)](/forum/user/423-brainforge "View brainforge's Profile") Topic Author
- [ Offline](/forum/user/423-brainforge)

Less More

- Posts: 298
- Thank you received: 5
-
-
-
- [](https://brainforge.co.uk)
-

15 years 10 months ago [\#3830](#3830) by [brainforge](/forum/user/423-brainforge "View brainforge's Profile")  Replied by *[brainforge](/forum/user/423-brainforge "View brainforge's Profile")* on topic *[Re: Joomla 1.6 - Select Button - Javascript Error](/forum/3-bug-report/3822-joomla-1-6-select-button-javascript-error#3830 "Display / Content Menus / ... Click on Select button get following error: following Ajax GET.")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zODIyLWpvb21sYS0xLTYtc2VsZWN0LWJ1dHRvbi1qYXZhc2NyaXB0LWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.046 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
