Author Topic: Cannot hold and move images because of old jquery-ui.min.js  (Read 540 times)

niosme

  • Beginner
  • *
  • Posts: 42
  • Fullstack Developer and Joomla Expert
    • Easylogic
  • VirtueMart Version: Latest
Cannot hold and move images because of old jquery-ui.min.js
« 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.
Fullstack Developer and Joomla Expert

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10531
  • VM4.0.7 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Cannot hold and move images because of old jquery-ui.min.js
« Reply #1 on: September 06, 2022, 10:39:03 am »
Sounds good. Lets see if it conflicts with other js tasks
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10531
  • VM4.0.7 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Cannot hold and move images because of old jquery-ui.min.js
« Reply #2 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.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

niosme

  • Beginner
  • *
  • Posts: 42
  • Fullstack Developer and Joomla Expert
    • Easylogic
  • VirtueMart Version: Latest
Re: Cannot hold and move images because of old jquery-ui.min.js
« Reply #3 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
Fullstack Developer and Joomla Expert