Occurs in all browsers
To duplicate, create a new private message, type out someone's full username (don't hover over the dropdown) and hit 'enter'. In RC1 and prior, this would just add the username. Now it attempts to send the (usually blank or useless) message.
A simple attempt at a fix did not solve the issue.
I cannot replicate this anymore on the latest svn, it might have been solved meanwhile.
Typing the full name and hitting enter (without using the dropdown at all), sends the message to the user with the respective name.
Except that's not usually the desired behavior.
A lot of quoted replies with no content are being sent >_>
Yes, it could stop at choosing the member, I suppose. I'll add it to the tracker, perhaps it will be re-considered.
http://dev.simplemachines.org/mantis/view.php?id=4059
Norv, I fixed this one. (Yay.)
You may want to look into my implementation (rev 9928). I'm not a Javascript hero, and definitely not fluent in OOP stuff, so I may not have been using the right coding conventions/guidelines. Feel free to change anything.
(I like my "is_opera ? ... : ..." though... It looks kinda cool 8))
Thank you!
Marking as solved then.
I'd just like to make sure it works on all browsers, BTW... Since basically I only was able to reproduce the bug in Opera, and Vekseid said it happened in all browsers.