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

增加“新窗口打开”菜单

上级 b5f2fe96
......@@ -161,6 +161,7 @@ o2.LP.desktop = {
"close": "关闭",
"closeAll": "全部关闭",
"closeOther": "关闭其他",
"openInBrowser": "新窗口打开",
"lnkAppTitle": "常用应用",
"deleteLnk": "删除常用应用快捷方式",
......
......@@ -2710,6 +2710,9 @@ o2.xDesktop.Default.TaskItem = new Class({
//img = this.path+this.options.style+"/icons/logout.png";
if (this.app.options.appId!==this.desktop.options.index){
img = this.desktop.path+this.desktop.options.style+"/icons/menu_openInWindow.png";
this.taskitemMenu.addMenuItem(o2.LP.desktop.openInBrowser, "click", function(e){this.app.openInNewBrowser();}.bind(this), img);
img = this.desktop.path+this.desktop.options.style+"/icons/menu_close.png";
this.taskitemMenu.addMenuItem(o2.LP.desktop.close, "click", function(){
if (!this.app.window){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册