mgsisk / webcomic

Comic publishing power for the web. Turn your WordPress-powered site into a comic publishing platform with Webcomic.
http://wordpress.org/plugins/webcomic
GNU General Public License v2.0
110 stars 29 forks source link

Broken click-and-drag function on "Sort storylines" page #377

Open sailorptah opened 2 years ago

sailorptah commented 2 years ago

The "sort storylines" page won't let you drag the list items around anymore. Clicking an item should let you drag it to re-order it, but it won't move at all, it just develops a really weird visual effect.

Looks like the Javascript is broken, and the CSS is gamely doing its best to style the broken Javascript.

Storyline list when I open it, all good so far: https://leifandthorn.com/wp-content/uploads/2022/04/sorting1.png

Storyline list when I click the "Art & Bonuses" item: https://leifandthorn.com/wp-content/uploads/2022/04/sorting2.png

Webcomic version: 5.0.6 Wordpress: 5.9.3 PHP: 7.4.28 (Supports 64bit values) Browser: Firefox 99.0.1

mgsisk commented 2 years ago

This probably requires a complete rewrite of that particular functionality. jQuery is pretty outdated now, and this is unfortunately one of the only places Webcomic uses it. I'm investigating some alternatives now.

sailorptah commented 2 years ago

Good to know, thank you!