diff --git a/o2web/source/x_component_Selector/Person.js b/o2web/source/x_component_Selector/Person.js index 432ef650efd4c8136c4451a32fd45bace9e435e0..835a335a359cc1d69c0e75b14619d8d3b619f3a5 100644 --- a/o2web/source/x_component_Selector/Person.js +++ b/o2web/source/x_component_Selector/Person.js @@ -451,11 +451,21 @@ MWF.xApplication.Selector.Person = new Class({ if( contentNode )this.contentNode = contentNode; if( this.options.contentUrl || isHTML ){ - if (this.options.count.toInt()!==1) this.loadSelectedNodeHTML(); + // if (this.options.count.toInt()!==1){ + // this.loadSelectedNodeHTML(); + // this.loadSelectNodeHTML(contentNode); + // }else{ + // this.setSelectedItem(); + // this.loadSelectNodeHTML(contentNode); + // } + + this.loadSelectedNodeHTML(); this.loadSelectNodeHTML(contentNode); }else{ if (layout.mobile){ - if (this.options.count.toInt()!==1) this.loadSelectedNodeMobile(); + // if (this.options.count.toInt()!==1) this.loadSelectedNodeMobile(); + + this.loadSelectedNodeMobile(); this.loadSelectNodeMobile(); }else{ this.loadSelectNode(); @@ -1038,12 +1048,12 @@ MWF.xApplication.Selector.Person = new Class({ this.setSelectedItem(); - MWF.require("MWF.widget.ScrollBar", function(){ - var _self = this; - new MWF.widget.ScrollBar(this.selectedScrollNode, { - "style":"xApp_Organization_Explorer", "where": "before", "distance": 100, "friction": 4,"axis": {"x": false, "y": true} - }); - }.bind(this)); + // MWF.require("MWF.widget.ScrollBar", function(){ + // var _self = this; + // new MWF.widget.ScrollBar(this.selectedScrollNode, { + // "style":"xApp_Organization_Explorer", "where": "before", "distance": 100, "friction": 4,"axis": {"x": false, "y": true} + // }); + // }.bind(this)); this.selectedScrollNode.setStyle("display", "none"); },