News:

Support the VirtueMart project and become a member

Main Menu

jQuery UI v1.9.2 issue

Started by philip_sorokin, January 25, 2023, 11:03:25 AM

Previous topic - Next topic

philip_sorokin

VM 4.0.6 10690
Joomla! ‎4.2.6

Cannot drag and drop images when sorting them in the product view in the admin panel (images menu). This is because .andSelf() was deprecated in jQuery 1.8 and removed in jQuery 3.0. .addBack() should be used instead from jQuery 1.8 onward: https://api.jquery.com/andself/

Replacing .andSelf() to .addBack() resolves the issue.

sirius

#1
jquery-migrate.js should handle this
/*!
* jQuery Migrate - v3.4.0 - 2022-03-24T16:30Z
* Copyright OpenJS Foundation and other contributors
*/
...
migratePatchAndWarnFunc( jQuery.fn, "andSelf", jQuery.fn.addBack, "andSelf",
"jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()" );
J3.10.12 | PHP 7.4.33 + APC + Opcode
VM Prod : 3.8.6 | VM Test : 4.4.0.11095

balai


Jumbo!

I think it is already fixed in VM 4.0.12. The jQuery UI library has been updated.