fixes for xxs lint issues

This commit is contained in:
Ali-D-Akbar
2020-04-22 13:34:15 +05:00
parent f10adf5e6a
commit 3809552b2d

View File

@@ -59,8 +59,8 @@ define(['underscore', 'jquery', 'gettext', 'edx-ui-toolkit/js/utils/html-utils',
asset_path: this.$('input.chapter-asset-path').val()
});
var msg = new FileUploadModel({
title: _.template(gettext('Upload a new PDF to “<%= name %>”'))(
{name: course.escape('name')}),
title: _.template(gettext('Upload a new PDF to “<%- name %>”'))(
{name: course.get('name')}),
message: gettext('Please select a PDF file to upload.'),
mimeTypes: ['application/pdf']
});