Commit 4a98722f by Asad Azam Committed by AsadAzam

Fixed test case

parent 34ba3b44
......@@ -44,7 +44,7 @@ $(document).ready(function() {
error: function (response) {
if(response.responseJSON.lms_course_id) {
$studioInstanceError.find(".copy").html(response.responseJSON.lms_course_id['lms_course_id']);
if (response.responseJSON['lms_course_id'][0]){
if (!response.responseJSON.lms_course_id['lms_course_id']){
$studioInstanceError.find(".copy").html(response.responseJSON['lms_course_id'][0]);
}
} else if(response.responseJSON.detail) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment