فهرست منبع

Merge branch 'fix/Profile_empower' into 'develop'

Merge of fix/Profile_empower to develop【修复授权多身份(部门名全一致)下拉框显示异常问题//include会去重】

See merge request o2oa/o2oa!601
李义 5 سال پیش
والد
کامیت
2834092b29
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      o2web/source/x_component_Profile/Main.js

+ 2 - 2
o2web/source/x_component_Profile/Main.js

@@ -1090,8 +1090,8 @@ MWF.xApplication.Profile.emPowerPopupForm = new Class({
         var identityTextList = [];
         var identityTextList = [];
         var identityList =[];
         var identityList =[];
         this.userIdentityList.each(function(it){
         this.userIdentityList.each(function(it){
-            identityTextList.include(it.name+"("+it.unitName+")");
-            identityList.include((it.distinguishedName));
+            identityTextList.push(it.name+"("+it.unitName+")");
+            identityList.push((it.distinguishedName));
         });
         });
 
 
         //this.formTableContainer.setStyle("width","80%");
         //this.formTableContainer.setStyle("width","80%");