1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-11 17:32:41 +01:00
phorge-phorge/src/applications/phriction
epriestley 8fd97f4352 When users submit a no-op edit in Phriction, don't update the document
Summary:
See T1501. When users mash "save", stop them if they didn't change anything.

Also, don't default-fill the "edit notes" field with the previous notes. This is meant to be more like a commit message for your changes.

Test Plan: Edited a document with no changes, got a dialog. Edited a document with a title change only and a description change only, things worked. Edited a document with a previous "Edit notes", got a blank default fill.

Reviewers: alanh, btrahan, vrana

Reviewed By: vrana

CC: aran

Maniphest Tasks: T1501

Differential Revision: https://secure.phabricator.com/D2978
2012-07-16 09:40:10 -07:00
..
constants Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
controller When users submit a no-op edit in Phriction, don't update the document 2012-07-16 09:40:10 -07:00
editor Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
storage Add a generic multistep Markup cache 2012-07-09 15:20:56 -07:00