Topic: Sortable & Draggable Plugins conflict
3aalliance asked 5 years ago
Hello
In MDB Pro version while copying Sortable plugin it makes Draggable plugin out of work and vice versa. Please help to resolve the issue. Thanks.
Mikołaj Smoleński staff answered 5 years ago
Hi there,
I've just copied two plugins to my MDB Pro project and then linked scripts like this:
<script type="text/javascript" src="./MDB-Sortable_4.8.11/js/addons/jquery-ui.min.js"></script>
<script type="text/javascript" src="./MDB-Sortable_4.8.11/js/addons/jquery-ui-touch-punch.min.js"></script>
<script type="text/javascript" src="./MDB-Draggable_4.8.11/js/addons/jquery-ui.min.js"></script>
<script type="text/javascript" src="./MDB-Draggable_4.8.11/js/addons/jquery-ui-touch-punch.min.js"></script>
Everything works correctly.
Best regards
3aalliance commented 5 years ago
Hi Mikolaj,
I see you use version 4.8.11 while I have 4.8.10. On MDB gitlab we have access to mdb pro repository only. Please clarify how to access to plugins? Thanks!
Mateusz Leciejewski staff pro premium priority commented 5 years ago
Hi @3aalliance,
We are currently debugging the problem with 4.8.11 version availability and will inform you as soon as we'll fix it.
Our Plugins are not available to install through our Gitlab server - you have to install plugins from your user dashboard https://mdbootstrap.com/profile/my-orders/
If still, there's something unclear to you, feel free to ask.
Best, Mateusz
3aalliance commented 5 years ago
Hi Mateusz,
Thank you for clarification. Until version 4.8.11 is not available for downloading, is there any way to use both plugins in version 4.8.10 simultaneously in a single page?
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.8.10
- Device: PC
- Browser: Chrome
- OS: Ubuntu 18.04
- Provided sample code: No
- Provided link: No
3aalliance commented 5 years ago
I see they use different jquery-ui.js files. Is there a way to align them in a single version?
Bartłomiej Malanowski staff pro premium commented 5 years ago
How can we reproduce your issue?
3aalliance commented 5 years ago
Just take a clear MDB Pro, copy there sortable plugin, then draggable plugin.