Closed Bug 789548 Opened 13 years ago Closed 13 years ago

Kuma: Editor - Clicking save without changes should just discard instead

Categories

(developer.mozilla.org Graveyard :: Editing, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 560173

People

(Reporter: sheppy, Unassigned)

Details

Currently, when the user clicks save or save and continue editing, a save occurs even if there have been no changes. We need to change this to do nothing for save and keep editing, and to simply discard for save. Currently, we're getting empty revisions because people click a save button just to be sure they don't lose anything, and this is confusing for people monitoring content changes.
Not to self: This is more difficult than it seems at face value; we'll need to check to ensure the following aren't different: 1. Page content 2. Tags 3. Title & slug
May also need to validate "based_on_rev" to ensure it's not a rollback
Version: Kuma → unspecified
Component: Docs Platform → Editing
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.