瀏覽代碼

Merge branch 'cherry-pick-3019009e' into 'develop'

Merge branch 'fix/[内容管理]修复内容管理新建选择身份无效的问题' into 'release'

See merge request o2oa/o2oa!935
蔡祥熠 5 年之前
父節點
當前提交
f3985561e1
共有 2 個文件被更改,包括 4 次插入0 次删除
  1. 2 0
      o2web/source/x_component_cms_Index/Newer.js
  2. 2 0
      o2web/source/x_component_cms_Index/Starter.js

+ 2 - 0
o2web/source/x_component_cms_Index/Newer.js

@@ -429,6 +429,7 @@ MWF.xApplication.cms.Index.Newer = new Class({
             "isNewDocument" : true,
             "title": title,
             "creatorIdentity": identity,
+            "identity" : identity,
             "appId" :this.categoryData.appId,
             "categoryId" : this.categoryData.id,
             "form" : this.categoryData.formId,
@@ -542,6 +543,7 @@ MWF.xApplication.cms.Index.Newer = new Class({
                 "isNewDocument" : true,
                 "title": title,
                 "creatorIdentity": data.identity,
+                "identity": data.identity,
                 "appId" :this.categoryData.appId,
                 "categoryId" : this.categoryData.id,
                 //"form" : this.categoryData.formId,

+ 2 - 0
o2web/source/x_component_cms_Index/Starter.js

@@ -311,6 +311,7 @@ MWF.xApplication.cms.Index.Starter = new Class({
             "isNewDocument" : true,
             "title": title,
             "creatorIdentity": this.identityArea ? this.identityArea.get("value") : this.identityList[0].distinguishedName,
+            "identity": this.identityArea ? this.identityArea.get("value") : this.identityList[0].distinguishedName,
             "appId" :this.categoryData.appId,
             "categoryId" : this.categoryData.id,
             "form" : this.categoryData.formId,
@@ -389,6 +390,7 @@ MWF.xApplication.cms.Index.Starter = new Class({
                     "isNewDocument" : true,
                     "title": title,
                     "creatorIdentity": data.identity,
+                    "identity" : data.identity,
                     "appId" :this.categoryData.appId,
                     "categoryId" : this.categoryData.id,
                     //"form" : this.categoryData.formId,