New and Improved 3.13 Beta. Highlights: Shareable filters and dashboards and lots of other goodies. Any feedback can be raised as JIRA issues in the JIRA project.
Issue Details (XML | Word | Printable)

Key: JRA-12393
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Andreas Knecht [Atlassian]
Reporter: Stepan Koltsov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JIRA

Comment field jumps on "Preview" click when wiki-markup is enabled

Created: 19/Mar/07 03:39 AM   Updated: 16/May/07 07:01 PM
Component/s: Renderers
Affects Version/s: 3.7.2, 3.8
Fix Version/s: 3.9.1

Time Tracking:
Not Specified

File Attachments: 1. File wiki-renderer-js.vm-scrolling-stepancheg-2007-03-19.diff (2 kB)

Image Attachments:

1. comment-preview.png
(191 kB)

2. comment-text.png
(167 kB)
Environment: Safai, Firefox.

Participants: Andreas Knecht [Atlassian], Anton Mazkovoi [Atlassian] and Stepan Koltsov
Since last comment: 1 year, 15 weeks ago
Resolution Date: 16/May/07 07:01 PM
Labels:


 Description  « Hide
After clicking preview button in comment field with wiki-markup enabled, page jumps upper.

Attaching two screenshot:

1. Editing comment
2. Page seen after "Preview" button pressed. Page scrolled. It should not.

Also attaching patch that fixes current behaviour.

Page scrolls because JS removes element from page. Patch adds div that prevents scrolling.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Anton Mazkovoi [Atlassian] added a comment - 20/Mar/07 02:08 AM
Need to verify the code and ensure it work in all supported browsers:
  1. Firefox 1.5 & 2.0
  2. IE 7 & 6
  3. Safari
  4. Opera 9.x

Andreas Knecht [Atlassian] added a comment - 16/May/07 07:01 PM
The attached patch has been applied. Also fixed another related javascript bug when hitting the comment operation when the wiki field is already in preview mode.