提交 285b9416 编写于 作者: U unknown

修复按类型选择组织默认折叠样式的问题

上级 ac8186b7
......@@ -2869,6 +2869,7 @@ MWF.xApplication.Selector.Person.ItemCategory = new Class({
}
},
overItem: function(){
debugger;
//if (!this.isSelected){
// this.node.setStyles(this.selector.css.selectorItem_over);
// this.actionNode.setStyles(this.selector.css.selectorItemActionNode_over);
......
......@@ -362,6 +362,8 @@ MWF.xApplication.Selector.UnitWithType.ItemCategory = new Class({
}
},
afterLoad: function(){
if( this.actionNode )this.actionNode.setStyles(this.selector.css.selectorItemCategoryActionNode_collapse);
if( this.children )this.children.setStyle("display", "none");
if (this.level===1) this.clickItem();
var flag = false;
this.data.woSubDirectUnitList.each(function(subData) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册