Add an "Unsubmitted" button to the Differential persistent header

Summary: Ref M1476. Same as D18070 but that did most of the magic.

Test Plan: {F4987961}

Reviewers: chad

Reviewed By: chad

Differential Revision: https://secure.phabricator.com/D18071
This commit is contained in:
epriestley
2017-06-03 06:31:09 -07:00
parent 48c6ca40c4
commit 863b7ab766
3 changed files with 64 additions and 23 deletions

View File

@@ -451,7 +451,8 @@ JX.install('DiffChangeset', {
end: block.items[jj]
},
attributes: {
unsaved: inline.isEditing()
unsaved: inline.isEditing(),
unsubmitted: inline.isDraft()
}
};