提交 0b207095 编写于 作者: NoSubject's avatar NoSubject

Merge branch 'wrdp' into 'develop'

Wrdp

See merge request o2oa/o2oa!6280
......@@ -303,6 +303,13 @@ o2.xDesktop.Default = new Class({
window.onbeforeunload = function(e){
if (!this.isLogout){
if (this.apps["Note"]){
if (this.apps["Note"].notes){
this.apps["Note"].notes.each(function(note){
note.save();
});
}
}
if (!this.notRecordStatus) this.recordDesktopStatus();
this.closeWebSocket();
//if (this.socket && this.socket.webSocket) this.socket.close();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册