e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
323 stars 214 forks source link

[Bug]: Track button in forum tracked topics is berserk #5319

Open rica-carv opened 3 months ago

rica-carv commented 3 months ago

What e107 version are you using?

v2.3.3

Bug description

When clicking on the button to track or untrack the topic on the listed topics screen, the button goes beserk, and it changes colors and icon (see the first button on my images). Probably there's a javascript issue there, but my console is without errors, so what's happening? Even clicking on the button it takes a very long time to do any action or change anything, but when it changes, it goes berserk... Screenshot 2024-08-18 at 10-55-47 SelosPT Screenshot 2024-08-18 at 10-55-24 SelosPT

Probably the related to issues #4932 & #4282

How to reproduce

  1. Go to tracked forum topics
  2. Click on the track/untrack button at the end of any topic line

Expected behavior

Expected behaviour is the button to change from "green" to "gray", right? And vice versa if the user changes its mind.... Something like in bootstrap documentation, no?

Betther, shouldn't this instead of a button be a toggle switch if it's a bootstrap theme?

What browser(s) are you seeing the problem on?

Firefox

PHP Version

PHP 7.4