Преглед изворни кода

Merge branch 'fix/CMS.create_document_identity_execption' into 'release'

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

See merge request o2oa/o2oa!934

(cherry picked from commit 3019009edda6bd9e9d38393bdaccb6fab33c994d)

9b8ec6a9 修复内容管理新建选择身份无效的问题
蔡祥熠 пре 5 година
родитељ
комит
8375ebb459

+ 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,