Bladeren bron

Merge branch 'wrdp' into 'develop'

Wrdp

See merge request o2oa/o2oa!2633
蔡祥熠 5 jaren geleden
bovenliggende
commit
263c9932d2
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 2 1
      o2web/source/x_component_Selector/IdentityWidthDutyCategoryByUnit.js

+ 2 - 1
o2web/source/x_component_Selector/IdentityWidthDutyCategoryByUnit.js

@@ -130,6 +130,7 @@ MWF.xApplication.Selector.IdentityWidthDutyCategoryByUnit = new Class({
                 unitList: units,
                 unitList: units,
                 recursiveUnit : !!this.options.expandSubEnable
                 recursiveUnit : !!this.options.expandSubEnable
             }, function (json) {
             }, function (json) {
+                this.allIdentityData = json.data;
                 this._loadSelectItems(json.data)
                 this._loadSelectItems(json.data)
             }.bind(this))
             }.bind(this))
         }else{
         }else{
@@ -579,7 +580,7 @@ MWF.xApplication.Selector.IdentityWidthDutyCategoryByUnit.ItemCategory = new Cla
                         // if( !this.selector.isExcluded( subData ) ) {
                         // if( !this.selector.isExcluded( subData ) ) {
                         var category = this.selector._newItemCategory("ItemCategory", subData, this.selector, this.children, this.level + 1, this);
                         var category = this.selector._newItemCategory("ItemCategory", subData, this.selector, this.children, this.level + 1, this);
                         this.subCategorys.push(category);
                         this.subCategorys.push(category);
-                        category.loadSub()
+                        // category.loadSub()
                         // }
                         // }
                     }.bind(this));
                     }.bind(this));
                 }
                 }