Perspective Plugin Bug: "Create Topic" button freezes once the composer form is in error state

When the Perspective Plugin is activated and you click on the “Create Topic” button while errors are displayed the button freezes (as expected)…

…and you then go on and edit the post in the composer in order to correct the errors…

…the “Create Topic” button does not unfreeze anymore, and you can’t submit the post or reply anymore. Only a shift-reload will bring the button back to a working state in this case.

Please look into this @rishabh

When disabling the plugin, everything works fine as expected ie. the button automatically unfreezes on edit.

2 Likes

I just pushed a fix:

https://github.com/discourse/discourse-perspective-api/commit/d00d95490660f1cc6d3d71afba909b7e46124bac

Could you please pull the latest changes and try again?

6 Likes

Upgraded, tested, works as intended and flawlessly now. Many thanks for the fast fix.

5 Likes