Edgewall Software

Opened 11 years ago

Last modified 9 months ago

#10207 closed defect

Clicking submit from comment edit is blocked by comment preview function — at Initial Version

Reported by: txcraig@… Owned by:
Priority: normal Milestone: 1.1.3
Component: ticket system Version: 0.12-stable
Severity: minor Keywords:
Cc: Ryan J Ollos Branch:
Release Notes:
API Changes:
Internal Changes:

Description

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 (0)

Note: See TracTickets for help on using tickets.