Sfoglia il codice sorgente

修复设置个人汇报对象时出错的问题

huqi 5 anni fa
parent
commit
d3ded64334
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      o2web/source/x_component_Org/PersonExplorer.js

+ 1 - 1
o2web/source/x_component_Org/PersonExplorer.js

@@ -687,7 +687,7 @@ MWF.xApplication.Org.PersonExplorer.PersonContent.BaseInfor = new Class({
             MWF.xDesktop.requireApp("Selector", "package", function(){
                 var options = {
                     "type": "person",
-                    "values": [this.data.superior],
+                    "values": (this.data.superior) ? [this.data.superior] : [],
                     "count": 1,
                     "onComplete": function(items){
                         this.data.superior = items[0].data.distinguishedName;