Skip to content

Commit

Permalink
Merge pull request #177 from edx/aakbar/PROD-1291
Browse files Browse the repository at this point in the history
fixes for xss lint issues
  • Loading branch information
Ali-D-Akbar authored May 4, 2020
2 parents 1d7d28e + 3809552 commit 25e42cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cms/static/js/views/edit_chapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']
});
Expand Down

0 comments on commit 25e42cb

Please sign in to comment.