提交 8e6f3c1b 编写于 作者: U unknown

修复人员选择清空选项的时候,没有取消分类上的全选样式

上级 4a0d988f
......@@ -318,9 +318,8 @@ MWF.xApplication.Selector.UnitWithType.ItemCategory = new Class({
this.data.woSubDirectUnitList.each(function(subData){
if( !this.selector.isExcluded( subData ) ) {
if ((!this.selector.options.unitType) || subData.typeList.indexOf(this.selector.options.unitType)!==-1){
debugger;
var unit = this.selector._newItem(subData, this.selector, this.children, this.level+1, this);
this.selector.items.push( unit );
if(this.subItems)this.subItems.push( unit );
}else{
if (subData.woSubDirectUnitList.length){
......@@ -397,8 +396,8 @@ MWF.xApplication.Selector.UnitWithType.ItemCategory = new Class({
this.data.woSubDirectUnitList.each(function(subData){
if( !this.selector.isExcluded( subData ) ) {
if ((!this.selector.options.unitType) || subData.typeList.indexOf(this.selector.options.unitType)!==-1){
debugger;
var unit = this.selector._newItem(subData, this.selector, this.children, this.level+1, this);
this.selector.items.push( unit );
if(this.subItems)this.subItems.push( unit );
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册