提交 06b1569e 编写于 作者: 蔡祥熠

Merge branch 'fix/SmapSSO.html' into 'wrdp'

Merge of fix/SmapSSO.html 修复smpasso.html可能重复打开文件的问题 to wrdp

See merge request o2oa/o2oa!1867
......@@ -85,7 +85,6 @@
}
var redirect = uri.getData("redirect");
redirect = redirect + "&uniqueId=" + uniqueId + "&flushPortalUrl="+flushPortalUrl;
window.open( redirect, "_new");
if (xtoken){
var res = new Request.JSON({
url: o2.filterUrl(address+"?SMAP_SESSION_DATA="+encodeURIComponent(xtoken)+"&appID="+appID+"&date="+(new Date()).getTime()),
......@@ -97,7 +96,7 @@
var result = responseJSON.data.value;
if(result){
if (redirect){
window.location = redirect;
window.location = redirect;
}else{
window.location = "/";
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册