Commit c47806a8 by tasawernawaz

Fixed tab issue on unenroll dialog

LEARNER-2305
parent 0c204e35
......@@ -175,7 +175,6 @@
$('#unenroll_form input[type="submit"]').prop('disabled', true);
}
edx.dashboard.dropdown.toggleCourseActionsDropdownMenu(event);
});
request.fail(function() {
$('#unenroll_error').text(
......@@ -185,9 +184,9 @@
.css('display', 'block');
$('#unenroll_form input[type="submit"]').prop('disabled', true);
});
edx.dashboard.dropdown.toggleCourseActionsDropdownMenu(event);
});
$('#unenroll-modal').css('position', 'fixed');
});
......@@ -223,6 +222,7 @@
});
$('.action-unenroll').each(function(index) {
$(this).attr('id', 'unenroll-' + index);
// a bit of a hack, but gets the unique selector for the modal trigger
var trigger = '#' + $(this).attr('id');
accessibleModal(
......@@ -231,7 +231,6 @@
'#unenroll-modal',
'#dashboard-main'
);
$(this).attr('id', 'unenroll-' + index);
});
$('#unregister_block_course').click(function(event) {
......
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