fix for https
This commit is contained in:
parent
a0df7f77f4
commit
87f853242e
|
@ -429,6 +429,9 @@
|
||||||
processData: false,
|
processData: false,
|
||||||
contentType: false
|
contentType: false
|
||||||
}).done(function(data){
|
}).done(function(data){
|
||||||
|
if(window.location.protocol === "https:"){
|
||||||
|
data = data.replace("http:","https:");
|
||||||
|
}
|
||||||
$('.modal-body iframe').attr('src',data);
|
$('.modal-body iframe').attr('src',data);
|
||||||
$('#show_preview .modal').modal();
|
$('#show_preview .modal').modal();
|
||||||
$('#show_preview .modal').height(function() {
|
$('#show_preview .modal').height(function() {
|
||||||
|
|
Loading…
Reference in New Issue