|
|
@@ -2104,12 +2104,12 @@ MWF.xApplication.Selector.Person.ItemCategory = new Class({
|
|
|
}.bind(this));
|
|
|
}
|
|
|
|
|
|
- var subIdList = this.selector._getChildrenItemIds(this.data);
|
|
|
- if (subIdList){
|
|
|
- var count = subIdList.length;
|
|
|
- this.childrenHeight = count*this.selector.options.itemHeight;
|
|
|
- this.children.setStyle("height", ""+this.childrenHeight+"px");
|
|
|
- }
|
|
|
+ // var subIdList = this.selector._getChildrenItemIds(this.data);
|
|
|
+ // if (subIdList){
|
|
|
+ // var count = subIdList.length;
|
|
|
+ // this.childrenHeight = count*this.selector.options.itemHeight;
|
|
|
+ // this.children.setStyle("height", ""+this.childrenHeight+"px");
|
|
|
+ // }
|
|
|
//if (!this._hasChild()){
|
|
|
// this.textNode.setStyle("color", "#333");
|
|
|
//}
|
|
|
@@ -2211,12 +2211,13 @@ MWF.xApplication.Selector.Person.ItemCategory = new Class({
|
|
|
}).inject(this.node, "after");
|
|
|
if (!this.selector.options.expand) this.children.setStyle("display", "none");
|
|
|
|
|
|
- var subIdList = this.selector._getChildrenItemIds(this.data);
|
|
|
- if (subIdList){
|
|
|
- var count = subIdList.length;
|
|
|
- this.childrenHeight = count*this.selector.options.itemHeight;
|
|
|
- this.children.setStyle("height", ""+this.childrenHeight+"px");
|
|
|
- }
|
|
|
+ // var subIdList = this.selector._getChildrenItemIds(this.data);
|
|
|
+ // if (subIdList){
|
|
|
+ // var count = subIdList.length;
|
|
|
+ // this.childrenHeight = count*this.selector.options.itemHeight;
|
|
|
+ // this.children.setStyle("height", ""+this.childrenHeight+"px");
|
|
|
+ // }
|
|
|
+
|
|
|
if (!this._hasChild()){
|
|
|
this.actionNode.setStyle("background", "transparent");
|
|
|
this.textNode.setStyle("color", "#777");
|