Closed
Bug 812157
Opened 13 years ago
Closed 9 years ago
Do not create a revision when "Save changes" is clicked without changes being made
Categories
(developer.mozilla.org Graveyard :: Editing, defect, P2)
developer.mozilla.org Graveyard
Editing
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: bruant.d, Unassigned)
References
Details
(Whiteboard: [type:feature])
I've just clicked on "save" while making no change to the page and it created an history entry: https://developer.mozilla.org/en-US/docs/WebAPI/Doc_status$compare?to=328989&from=328983
I think it should rather do the same thing than "Discard changes"
I'm doing this a lot, because my worflow is like
* start editing
* press "save and keep editing" several times after doing some edits
* Press save to go back to the page without making changes.
I know it's irrational, but I intuitivelt feel more comfortable clicking on a button with a positive message (save) instead of a negative one (discard changes) when trying to leave the page.
Comment 1•13 years ago
|
||
I don't think that's irrational. I do the same thing.
Anyway, really good idea. I will be sure we look into it.
Updated•13 years ago
|
Summary: Saving with no changes creates an history entry → Do not create a revision when "Save changes" is clicked without changes being made
Whiteboard: p=
Updated•13 years ago
|
Priority: -- → P2
Whiteboard: p= → feature request;
Updated•12 years ago
|
Whiteboard: feature request; → [type:feature]
Comment 3•11 years ago
|
||
See also bug 797845.
Comment 4•11 years ago
|
||
Progress: https://github.com/groovecoder/kuma/commit/18b38e19db34e4b007dd3a817cd0e84add4b03f2
Needs:
* Fix test case
* (Probably) Refactor the form code to be more sane
Updated•11 years ago
|
Severity: normal → major
Updated•10 years ago
|
OS: Linux → All
Hardware: x86 → All
Comment 5•9 years ago
|
||
It seems to me this problem has been a solved one for quite a bit.
Since a couple of other bugs depend on this one, can this bug be closed or am I missing something?
Comment 6•9 years ago
|
||
Currently the buttons for saving the page are disabled as long as the contents equal the previous revision.
So, I close this as WORKSFORME. If somebody thinks it should work differently, feel free to reopen it.
Sebastian
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•