Commit 77275a52 authored by xishifeng's avatar xishifeng

ckfinderStart.js修改

parent 7e177a61
......@@ -27,6 +27,11 @@ function SetFileField( fileUrl , data )
}
if($.isFunction(window.browseServerBackFun)){
if(~location.protocol.indexOf(fileUrl)){
//一致
}else{
fileUrl = fileUrl.replace(/(http|https):\/\//g,location.protocol+'://');
}
window.browseServerBackFun(fileUrl);
}
}
......
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