Commit 43e495b4 by jenkins

Merge Request accepted by jenkins build success

parents 4fe9c9c7 3647faf1
Pipeline #520 failed with stage
in 0 seconds
......@@ -500,8 +500,14 @@ function vq_lms_settings_field_courselist_cb($args)
});
mediaUploader.on('select', function () {
attachment = mediaUploader.state().get('selection').first().toJSON();
jQuery("#vq_lms_courselist_hidden").val(attachment.url);
jQuery("#clist").attr('src', attachment.url);
var str = attachment.url;
var url = str.replace("http://", "https://");
jQuery("#vq_lms_courselist_hidden").val(url);
jQuery("#clist").attr('src', url);
});
mediaUploader.open();
});
......
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