Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

Commit 92b3833

Browse files
committed
Fix: fail not error
1 parent 5f03d6c commit 92b3833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/js/admin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1351,7 +1351,7 @@ function update_assignment(form) {
13511351
data.assignment_id = getAssignmentId();
13521352
$.getJSON("save_assignment", data, function (result) {
13531353
alert("Assignment Saved");
1354-
}).error(function () {
1354+
}).fail(function () {
13551355
alert("huh??");
13561356
});
13571357
}

0 commit comments

Comments
 (0)