|
|
@@ -11,6 +11,7 @@ MWF.xApplication.Org.UnitExplorer = new Class({
|
|
|
"creator": false
|
|
|
},
|
|
|
_loadLp: function(){
|
|
|
+ console.log('_loadLp');
|
|
|
this.options.lp = {
|
|
|
"search": this.app.lp.search,
|
|
|
"searchText": this.app.lp.searchText,
|
|
|
@@ -27,6 +28,7 @@ MWF.xApplication.Org.UnitExplorer = new Class({
|
|
|
}
|
|
|
},
|
|
|
loadElements: function(addToNext){
|
|
|
+ console.log('loadElements');
|
|
|
if (!this.isElementLoaded){
|
|
|
if (!this.loaddingElement){
|
|
|
this.loaddingElement = true;
|
|
|
@@ -195,7 +197,6 @@ MWF.xApplication.Org.UnitExplorer.Unit = new Class({
|
|
|
this.textNode.set({"text": this.data.name+((this.data.subDirectUnitCount) ? " ("+(this.data.subDirectUnitCount)+")" : "")});
|
|
|
},
|
|
|
load: function(){
|
|
|
- debugger;
|
|
|
this.node = new Element("div", {"styles": this.style.node}).inject(this.listNode);
|
|
|
this.contentNode = new Element("div", {"styles": this.style.contentNode}).inject(this.node);
|
|
|
var left = (10*this.level);
|