Created
March 2, 2017 21:37
-
-
Save ericdfields/14c86f469d8684d8411f347ea8582d98 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ajax | |
.post( parseHref(this.props) ) | |
.setCsrfToken() | |
.send( updatedPayload(payload,entity) ) | |
.end( (err,response) => { | |
if (err) { | |
return standardError() | |
} | |
this.setDisabled() | |
this.props.callback && this.props.callback() | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment