Merge pull request #17787 from edx/REV-19

fix REV-19 experiment check for refunds
This commit is contained in:
Matthew Piatetsky
2018-03-30 14:28:01 -04:00
committed by GitHub

View File

@@ -88,7 +88,7 @@
courseNumber, courseName, enrollmentMode, showRefundOption, courseKey) {
// This flag is added for REV-19 experiment
var auditRefundableCourses = (window.experimentVariables || {}).auditRefundableCourses,
courseInExperiment = courseKey.indexOf(auditRefundableCourses) > 0,
courseInExperiment = auditRefundableCourses ? auditRefundableCourses.indexOf(courseKey) > -1 : false,
diagAttr = {};
if (isPaidCourse || courseInExperiment) {