Commit bb90c307 by Ben McMorran

Make refresh clickable while courses are processing

parent b6d9ef3e
...@@ -84,6 +84,7 @@ define(["domReady", "jquery", "underscore", "js/utils/cancel_on_escape", "js/vie ...@@ -84,6 +84,7 @@ define(["domReady", "jquery", "underscore", "js/utils/cancel_on_escape", "js/vie
$('.dismiss-button').bind('click', ViewUtils.deleteNotificationHandler(function () { $('.dismiss-button').bind('click', ViewUtils.deleteNotificationHandler(function () {
ViewUtils.reload(); ViewUtils.reload();
})); }));
$('.action-reload').bind('click', ViewUtils.reload);
}; };
domReady(onReady); domReady(onReady);
......
...@@ -169,7 +169,7 @@ require(["domReady!", "jquery", "jquery.form", "js/index"], function(doc, $) { ...@@ -169,7 +169,7 @@ require(["domReady!", "jquery", "jquery.form", "js/index"], function(doc, $) {
</div> </div>
<div class="status-message"> <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> </div>
</li> </li>
%endif %endif
......
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