Allow submitting changes for item desc. to GitHub

This commit is contained in:
Andrew Miner
2015-05-08 16:16:17 -07:00
parent 1254183c2c
commit 8eb5cef71b
5 changed files with 154 additions and 13 deletions
@@ -79,7 +79,6 @@ module.exports = class MarkdownSectionController extends BaseController
onSaveClicked: (event)->
event.preventDefault()
nextState = State.viewing
@state = State.waiting
@_endEditing()
.then =>
@@ -87,10 +86,9 @@ module.exports = class MarkdownSectionController extends BaseController
.catch (e)=>
logger.error "failed to end editing: #{e}"
@state = State.appologizing
nextState = State.editing
.delay @confirmDuration
.then =>
@state = nextState
@state = State.viewing
onTextChanged: (event)->
event.preventDefault()