Explorar o código

修复项目列表切换及项目模板编辑删除问题

jinfei %!s(int64=5) %!d(string=hai) anos
pai
achega
fb489746ec

+ 1 - 1
o2web/source/x_component_TeamWork/$Bam/default/css.wcss

@@ -191,7 +191,7 @@
     "templateItemContent":{
         "float":"left",
         "margin-left":"20px",
-        "width":"600px",
+        "width":"200px",
         "height":"100%",
         "font-size":"12px"
     },

+ 0 - 1
o2web/source/x_component_TeamWork/Main.js

@@ -44,7 +44,6 @@ MWF.xApplication.TeamWork.Main = new Class({
 
 		//初始化一些信息
 		//初始化优先级
-
 		this.rootActions.GlobalAction.initConfig()
 
 

+ 2 - 2
o2web/source/x_component_TeamWork/ProjectList.js

@@ -655,7 +655,7 @@ MWF.xApplication.TeamWork.ProjectList = new Class({
                 this.currentListType = "list";
                 this.menuSettingList.setStyle("background-image","url(../x_component_TeamWork/$ProjectList/default/icon/icon_liebiao_click.png)");
                 this.menuSettingBlock.setStyle("background-image","url(../x_component_TeamWork/$ProjectList/default/icon/icon_tubiao.png)");
-                this.openItem()
+                this.openItem({type:this.currentNavi})
             }.bind(this),
             mouseover:function(){
                 //this.app.showTips(this.menuSettingList,{_html:"<div style=''> "+this.lp.content.listTip+" </div>"},{axis:"y",position : { x : "auto", y : "top" }});
@@ -667,7 +667,7 @@ MWF.xApplication.TeamWork.ProjectList = new Class({
                 this.currentListType = "block";
                 this.menuSettingList.setStyle("background-image","url(../x_component_TeamWork/$ProjectList/default/icon/icon_liebiao.png)");
                 this.menuSettingBlock.setStyle("background-image","url(../x_component_TeamWork/$ProjectList/default/icon/icon_tubiao_click.png)");
-                this.openItem()
+                this.openItem({type:this.currentNavi})
             }.bind(this),
             mouseover:function(){
                 //this.app.showTips(this.menuSettingList,{_html:"<div style=''> "+this.lp.content.blockTip+" </div>"},{axis:"y",position : { x : "auto", y : "top" }});