Mootools and chosen

  • Posts: 17
  • Thank you received: 0
7 years 2 weeks ago #267024

When enabling chosen library Hikashop still loads mootools?

Any way to override this update save?

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
7 years 1 week ago #267026

Hello,,

I'm sorry but I don't see the link between "chosen" and "mootools".

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 17
  • Thank you received: 0
7 years 1 week ago #267081

Chosen.js was based on mootools in hte past in Joomla. Now it has a jquery version.

When I enable chosen in the background of Hikashop it loads Mootools. Disable and no Mootools is loaded

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
7 years 1 week ago #267083

Hello,

When you use the setting "force chosen", HikaShop will call these Joomla functions

	JHTML::_('behavior.framework');
	JHtml::_('formbehavior.chosen', 'select');
Here the Joomla reference : developer.joomla.org/joomlacode-archive/issue-31159.html

So, you're right that, since Joomla 3.3.x the inclusion of "behavior.framework" is no longer required.
Now you can do not use that setting and include chosen directly in your template ; it will have the same final effect.
We will see to add a patch for the next release.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 17
  • Thank you received: 0
7 years 1 week ago #267131

Great thanks!

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

Time to create page: 0.062 seconds
Powered by Kunena Forum