Clicking 'Submit' or 'Modify Ticket' from comment edit is blocked by comment preview function — at Version 19
|Reported by:||Owned by:||Christian Boos|
|Cc:||Ryan J Ollos||Branch:|
Move the Add Comment fields below the Modify Ticket ones.
This is both more user-friendly and eliminates the problem of the Submit button being displaced by the apparition of the preview.
Here is the scenario:
- I am adding a comment to a ticket by typing in the textarea (Firefox 4.0)
- I finish typing my comment and am ready to submit, so use the mouse to click the Submit changes button
- the wiki-preview of the comment is updated but the ticket is not updated - i.e. I am still in edit mode.
- I have to click Submit changes again to update the ticket
It took a few times of this happening before I realized that probably the "lost focus" handler that updates the preview was firing just before the button click, and was therefore preventing the submit from happening.
The other note is that this is not 100% reproducible - sometimes the submit goes through, other times it does not. It seems like only the first time the wiki preview is updated the problem exhibits - after that it works as expected.
Trac 0.12 CustomFieldAdmin 0.2.2 Docutils 0.6 Genshi 0.6 mod_python 3.3.1 pysqlite 2.3.2 Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] RPC 1.1.2-r0 setuptools 0.6c9 SQLite 3.3.4 Subversion 1.6.6 (r40053) jQuery: 1.4.2
Change History (19)
follow-up: 10 comment:9 by , 11 years ago
|Summary:||Clicking submit from comment edit is blocked by comment preview function → Clicking 'Submit' or 'Modify Ticket' from comment edit is blocked by comment preview function|