Project

General

Profile

Actions

Defect #1852

closed

Use regular POST (non-ajax) for wiki preview

Added by Jim Jones over 15 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-09-04
Due date:
% Done:

0%

Estimated time:
Resolution:
Wont fix
Affected version:

Description

I'm filing this as a bug because it has bitten me for the third time and I'm certainly not alone.

Currently the wiki preview is AJAXified, this makes it very easy to lose all your work in progress by performing one of the following actions by accident:

  • Hit the back-button
  • Middle click anywhere outside the textarea (middle-click means "load URL in copy-buffer" in most browser)

Commonly you'll spend quite some time in the edit/preview cycle before saving a new revision. Losing all changes to a single misclick is a very frustrating expirience.

I propose the following fixes:

  • Replace the AJAX preview with a normal POST-preview or at least add the POST-preview as an option
  • Use javascript to display a warning dialog when the back-button is pressed (Note: This does not prevent the middle-click accident)

Related issues

Related to Redmine - Feature #2910: Warning on leaving edited issue/wiki page without savingClosed2009-03-05

Actions
Actions

Also available in: Atom PDF