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 « J'aime »
Roman
(Roman Rizzi)
Septembre 18, 2020, 3:11
3
I just pushed a fix:
committed 03:09PM - 18 Sep 20 UTC
Previously, we disabled the submit button and did an early return if the `compos… er.cantSubmitPost` was true. Because of this, we never enabled it again, even if the user fixed the errors.
With this commit, we'll only disable the submit button if the user can submit the post. Otherwise, we'll just bump the `lastValidatedAt` attribute and return.
Could you please pull the latest changes and try again?
6 « J'aime »
Upgraded, tested, works as intended and flawlessly now. Many thanks for the fast fix.
5 « J'aime »