Commit b49ba456 by Afzal Wali Committed by Muhammad Shoaib

Changed cursor to wait while waiting for attempt to be deleted.

parent 0de4b3e9
......@@ -174,6 +174,7 @@ var edx = edx || {};
if (!confirm(gettext('Are you sure you want to remove this student\'s exam attempt?'))) {
return;
}
$('body').css('cursor', 'wait');
var $target = $(event.currentTarget);
var attemptId = $target.data("attemptId");
......@@ -187,6 +188,7 @@ var edx = edx || {};
success: function () {
// fetch the attempts again.
self.hydrate();
$('body').css('cursor', 'auto');
}
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment