Kunena / Kunena-Forum

Kunena Forum - Forum / Bulletin Board / Discussions component for Joomla - This is the 6.x/5.x main development branch. Please do not open issues regarding earlier versions of Kunena
https://www.kunena.org
GNU General Public License v3.0
1.75k stars 814 forks source link

Remove private message disables submit button (edit.js) #9700

Closed Ruud68 closed 3 days ago

Ruud68 commented 1 week ago

Describe the bug when you edit a post and remove a private message (by selecting all the text and removing it), the submit button is disabled making it 'impossible' to submit the edited message

To Reproduce Steps to reproduce the behavior:

  1. create a new post with a private message
  2. submit the post
  3. edit the post and delete the private message text
  4. the submit button is disabled

Expected behavior submit button should not be disabled

Actual result submit button is disabled

Workaround There are two workarounds:

  1. add a space in the private message, now it contains text again and the submit button is enabled again
  2. go to tab message and make a change in that text, the submit button is enabled again

System information (please complete the following information)

Joomla version: 5.1.1 Kunena version: 6.3.2

Additional context Add any other context about the problem here.