Comments Editor value misplacing
Environment
1) go to your example site.
Describe the bug
When you try to edit multiple comments at once and then try to cancel the opened editors, cancelled comments get disappeared.
Steps To Reproduce
- go to your example site
- create 1+(2,3,4) comments
- refresh the page
- click on edit comment buttons on multiple comments(this opens multiple forms)
- now cancel one(by clicking on close comment edit button)
- try cancelling other opened by clicking cancel buttons
- now you should see other comments get disappear
Expected behavior
No matter how much forms have opened and closed in any order, comments should not get disappeared.
Screenshots
before editing
after editing
I actually fixed this bug my own. In my local environment.😲. If anyone needs the code, I can send it. 😁.
@ChathuraGH It would be great if you could share the code
I have an answer. it worked for me. but, what is your 'django-comments-dab' version ? I can't answer without knowing the version..
` what you should do is ,use cancelEdit()
before editComment()
`
@ChathuraGH I didn’t quite understand where to add these functions:
cancelEdit()
before editComment()
? DAB version 2.8.0