Fixed xss lint issues
PROD-1609 PROD-1610 PROD-1614 PROD-1615 PROD-1616
This commit is contained in:
@@ -5,7 +5,8 @@ define(['jquery', 'gettext', 'common/js/components/utils/view_utils', 'js/views/
|
||||
function($, gettext, ViewUtils, CreateUtilsFactory) {
|
||||
'use strict';
|
||||
return function(selectors, classes) {
|
||||
var keyLengthViolationMessage = gettext('The combined length of the organization, course number, and course run fields cannot be more than <%=limit%> characters.');
|
||||
var keyLengthViolationMessage = gettext('The combined length of the organization, course number, ' +
|
||||
'and course run fields cannot be more than <%- limit %> characters.');
|
||||
var keyFieldSelectors = [selectors.org, selectors.number, selectors.run];
|
||||
var nonEmptyCheckFieldSelectors = [selectors.name, selectors.org, selectors.number, selectors.run];
|
||||
|
||||
|
||||
@@ -5,7 +5,8 @@ define(['jquery', 'gettext', 'common/js/components/utils/view_utils', 'js/views/
|
||||
function($, gettext, ViewUtils, CreateUtilsFactory) {
|
||||
'use strict';
|
||||
return function(selectors, classes) {
|
||||
var keyLengthViolationMessage = gettext('The combined length of the organization and library code fields cannot be more than <%=limit%> characters.');
|
||||
var keyLengthViolationMessage = gettext('The combined length of the organization and library code fields' +
|
||||
' cannot be more than <%- limit %> characters.');
|
||||
var keyFieldSelectors = [selectors.org, selectors.number];
|
||||
var nonEmptyCheckFieldSelectors = [selectors.name, selectors.org, selectors.number];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user