-
Bug
-
Resolution: Fixed
-
Low (View bug fix roadmap)
-
None
-
None
-
- IE9 on Windows 7
- 5.0.3 (JAC)
NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.
- Comment on an issue
- Start to mention someone by typing e.g. @admin
- When the mentions bar shows up, clear the entered text fast (e.g. by using backspace) - the mentions bar will stay some time and not instantly close
- Bug: as soon as the mention expression (@admin) is removed while the mentions bar is still visible, the error dialog pops up
- Workaround: slowly remove the mentions expression, so that the error bar vanishes, before the @ is removed
- relates to
-
JRACLOUD-27996 Mentions produces JavaScript error dialog in IE9 when clearing entered mentions expression too fast
-
- Closed
-
The problem is to do with a lovely method called _isTrailingWitespaceNotGreaterThan(value). The lovely chap(s) who wrote it never bothered to test it, and always assumed that when it was called, there would be some input after the '@'. This isn't the case. 'tis a silly function, and I'm both fixing it and writing tests to prove it works.