Minor work on errors shown within the JS

This commit is contained in:
Vik Paruchuri
2013-02-13 18:45:34 -05:00
parent 8b12f26626
commit 00bc8deefa
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ class OpenEnded
post: (cmd, data, callback) ->
# if this post request fails, the error callback will catch it
$.post(@ajax_url + cmd, data, callback)
.error => callback({success: false, error: "Error occured while performing this operation"})
.error => callback({success: false, error: "Error occured while performing javascript ajax post."})
after_action_wrapper: (target, action_type) ->
tr_parent = target.parent().parent()

View File

@@ -143,7 +143,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"})
.error => callback({success: false, error: "Error occured while performing javascript AJAX post."})
class @StaffGrading