Commit e6cf6d14 by Afzal Wali Committed by Chris Dodge

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

parent 43302488
...@@ -174,6 +174,7 @@ var edx = edx || {}; ...@@ -174,6 +174,7 @@ var edx = edx || {};
if (!confirm(gettext('Are you sure you want to remove this student\'s exam attempt?'))) { if (!confirm(gettext('Are you sure you want to remove this student\'s exam attempt?'))) {
return; return;
} }
$('body').css('cursor', 'wait');
var $target = $(event.currentTarget); var $target = $(event.currentTarget);
var attemptId = $target.data("attemptId"); var attemptId = $target.data("attemptId");
...@@ -187,6 +188,7 @@ var edx = edx || {}; ...@@ -187,6 +188,7 @@ var edx = edx || {};
success: function () { success: function () {
// fetch the attempts again. // fetch the attempts again.
self.hydrate(); 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