Add error message when encountering an error posting back

without a proper error response object
This commit is contained in:
Diana Huang
2012-12-11 18:09:25 -05:00
parent 4e81d9b2c5
commit 59829a897c

View File

@@ -112,6 +112,7 @@ The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for t
else
# TODO: replace with postWithPrefix when that's loaded
$.post(@ajax_url + cmd, data, callback)
.error => callback({success: false, error: "Error occured while performing this operation"})
class StaffGrading