Fix flow of next courseware in showJS view
This commit is contained in:
@@ -70,6 +70,12 @@ $(document).ready(function() {
|
||||
$('#complete-courseware-dialog').modal('show');
|
||||
});
|
||||
|
||||
$('#complete-courseware-dialog').on('keypress', function(e) {
|
||||
if (e.which === 13 || e === 13) {
|
||||
$('#next-courseware-button').click();
|
||||
}
|
||||
});
|
||||
|
||||
$('#complete-bonfire-dialog').on('hidden.bs.modal', function() {
|
||||
editor.focus();
|
||||
});
|
||||
|
Reference in New Issue
Block a user