Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .ajax(
- url: @form.attr("action")
- data: @form.serialize()
- global: false
- type: "POST"
- success: this._success
- error: this._error
- )
- _success: (e) =>
- console.log(e)
- @modal.dialog("close")
- _error: (jqXHR, textStatus, errorThrown) =>
- console.log(JSON.parse(jqXHR.responseText))
Add Comment
Please, Sign In to add comment