1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 08:12:40 +01:00
phorge-phorge/src/applications/phriction/controller
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
..
PhrictionController.php Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
PhrictionDeleteController.php Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
PhrictionDiffController.php Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
PhrictionDocumentController.php Only get phid if project exists 2012-06-14 10:43:17 -07:00
PhrictionDocumentPreviewController.php Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
PhrictionEditController.php When users submit a no-op edit in Phriction, don't update the document 2012-07-16 09:40:10 -07:00
PhrictionHistoryController.php Add a generic multistep Markup cache 2012-07-09 15:20:56 -07:00
PhrictionListController.php Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00