VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: niosme on September 01, 2022, 08:53:38 AM

Title: Cannot hold and move images because of old jquery-ui.min.js
Post by: niosme on September 01, 2022, 08:53:38 AM
ERROR:
Cannot drag n drop image to change its position e.g. the second image become first. Also some problems in searching image in product or category.

SOLUTION:
Fist we go to virtuemart configuration -> tempates tab -> Core Css Styles & Javascripts (only for experts)  and set Use VirtueMart jQuery UI scripts to YES.
Then replace the file with the new jquery-ui.min.js latest release from the official site everything works fine.
File is placed in public_html/components/com_virtuemart/assets/js/jquery-ui.min.js
I will attach a screenshot of the error from the console and the latest version of jquery ui ( unzip it ) but you can also get it from the official site.
Title: Re: Cannot hold and move images because of old jquery-ui.min.js
Post by: Milbo on September 06, 2022, 10:39:03 AM
Sounds good. Lets see if it conflicts with other js tasks
Title: Re: Cannot hold and move images because of old jquery-ui.min.js
Post by: Milbo on December 20, 2022, 21:53:52 PM
I could not use your min zip. But I played around with the download packager of jquery ui and I think I found a min file which has the same feature as our old one.
Title: Re: Cannot hold and move images because of old jquery-ui.min.js
Post by: niosme on January 06, 2023, 18:58:26 PM
That sounds good.Really happy that this is fixed in new versions and dont have to replace the file each time <3