diff --git a/cms/static/js/base.js b/cms/static/js/base.js index 49a70a87fd..4aae7fc2af 100644 --- a/cms/static/js/base.js +++ b/cms/static/js/base.js @@ -843,19 +843,19 @@ function saveSetSectionScheduleDate(e) { dataType: "json", contentType: "application/json", data: JSON.stringify({ 'id': id, 'metadata': {'start': start}}) - }).success(function () { + }).success(function () { var $thisSection = $('.courseware-section[data-id="' + id + '"]'); var format = gettext('Will Release: %(date)s at %(time)s UTC'); - var willReleaseAt = interpolate(format, - {'date': input_date, + var willReleaseAt = interpolate(format, + {'date': input_date, 'time': input_time}, - true); + true); $thisSection.find('.section-published-date').html( - '' + willReleaseAt + '' + - '' + + '' + willReleaseAt + '' + + '' + gettext('Edit') + ''); $thisSection.find('.section-published-date').animate({ 'background-color': 'rgb(182,37,104)'