提交 409e06d5 编写于 作者: 蔡祥熠

Merge branch 'fix/smapsso.addQuery' into 'wrdp'

Merge of fix/smapsso.addQuery 移动端增加pagehide事件,smapsso.html增加nav参数 to wrdp

See merge request o2oa/o2oa!2445
......@@ -268,9 +268,12 @@ MWF.xApplication.Common.Main = new Class({
window.addEventListener("beforeunload", function (e) {
this.fireAppEvent("queryClose");
}.bind(this));
// window.addEventListener("pagehide", function (e) {
// this.fireAppEvent("queryClose");
// }.bind(this));
if(layout.mobile){
window.addEventListener("pagehide", function (e) {
this.fireAppEvent("queryClose");
}.bind(this));
}
// window.onbeforeunload = function(e){
// this.fireAppEvent("queryClose");
......
......@@ -25,6 +25,10 @@
}
var redirect = uri.getData("redirect");
redirect = redirect + "&uniqueId=" + uniqueId + "&flushPortalUrl="+flushPortalUrl;
var nav = uri.getData("nav");
if(nav)redirect = redirect + "&nav=" + nav;
if (xtoken){
var res = new Request.JSON({
url: o2.filterUrl(address+"?SMAP_SESSION_DATA="+encodeURIComponent(xtoken)+"&appID="+appID+"&date="+(new Date()).getTime()),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册