Opened 7 years ago

Last modified 7 years ago

#5510 new defect

Comments lost when navigating to next/previous media

Reported by: ayleph Owned by:
Priority: minor Milestone:
Component: programming Keywords: navigation, comments
Cc: Parent Tickets:

Description

A user on my site complained that his comments are lost when he presses the left or right arrow key after typing them. I checked the code in keyboard_navigation.js, and it appears to properly ignore the left/right arrow keys while a textbox has focus. But if you click outside of the textbox after typing a comment and then press left or right, the page changes and the comment is lost. Similarly, if you click the newer/older buttons after typing a comment, the comment is lost. Can we add some smarts to know that text has been entered, and then present the user with a "are you sure you want to leave" dialog when they navigate away?

Change History (0)

Note: See TracTickets for help on using tickets.