From bb90c3076733199b8ab6d00182bec8e69aedaa53 Mon Sep 17 00:00:00 2001 From: Ben McMorran Date: Wed, 20 Aug 2014 17:34:46 -0400 Subject: [PATCH] Make refresh clickable while courses are processing --- cms/static/js/index.js | 1 + cms/templates/index.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cms/static/js/index.js b/cms/static/js/index.js index 70f036012f..c984310197 100644 --- a/cms/static/js/index.js +++ b/cms/static/js/index.js @@ -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); diff --git a/cms/templates/index.html b/cms/templates/index.html index 2e546d564a..eed1669c58 100644 --- a/cms/templates/index.html +++ b/cms/templates/index.html @@ -169,7 +169,7 @@ require(["domReady!", "jquery", "jquery.form", "js/index"], function(doc, $) {
-

${_("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.")}

+

${_('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.')}

%endif