Commit 3647faf1 by nadeem.qasmi

a file was not pushed

parent 4f5ea278
Pipeline #519 passed 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