Make refresh clickable while courses are processing
This commit is contained in:
@@ -84,6 +84,7 @@ define(["domReady", "jquery", "underscore", "js/utils/cancel_on_escape", "js/vie
|
||||
$('.dismiss-button').bind('click', ViewUtils.deleteNotificationHandler(function () {
|
||||
ViewUtils.reload();
|
||||
}));
|
||||
$('.action-reload').bind('click', ViewUtils.reload);
|
||||
};
|
||||
|
||||
domReady(onReady);
|
||||
|
||||
@@ -169,7 +169,7 @@ require(["domReady!", "jquery", "jquery.form", "js/index"], function(doc, $) {
|
||||
</div>
|
||||
|
||||
<div class="status-message">
|
||||
<p class="copy">${_("The new course will be added to your course list in 5-10 minutes. Return to this page or refresh it to update the course list. The new course will need some manual configuration.")}</p>
|
||||
<p class="copy">${_('The new course will be added to your course list in 5-10 minutes. Return to this page or <a href="#" class="action-reload">refresh it</a> to update the course list. The new course will need some manual configuration.')}</p>
|
||||
</div>
|
||||
</li>
|
||||
%endif
|
||||
|
||||
Reference in New Issue
Block a user