Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
synergy-components
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
synergy-components
Commits
ca2c84df
Commit
ca2c84df
authored
Jul 29, 2026
by
Samir Sadyhov
🤔
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4f5c4ebf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
constructor/library/ApiClient.js
constructor/library/ApiClient.js
+1
-1
constructor/scripts/openDocument/openDocument.js
constructor/scripts/openDocument/openDocument.js
+2
-2
No files found.
constructor/library/ApiClient.js
View file @
ca2c84df
...
@@ -138,7 +138,7 @@ this.ApiClient = class {
...
@@ -138,7 +138,7 @@ this.ApiClient = class {
const
contentType
=
response
.
headers
.
get
(
'
content-type
'
)
||
''
;
const
contentType
=
response
.
headers
.
get
(
'
content-type
'
)
||
''
;
try
{
try
{
if
(
contentType
.
includes
(
'
application/json
'
))
{
if
(
contentType
.
includes
(
'
application/json
'
)
||
contentType
.
includes
(
'
application/asfdoc+json
'
)
)
{
return
await
response
.
json
();
return
await
response
.
json
();
}
}
...
...
constructor/scripts/openDocument/openDocument.js
View file @
ca2c84df
...
@@ -1186,6 +1186,7 @@ class ARMDocumentButtons {
...
@@ -1186,6 +1186,7 @@ class ARMDocumentButtons {
if
(
!
docInfo
)
return
false
;
if
(
!
docInfo
)
return
false
;
if
(
docInfo
.
registered
==
"
true
"
)
return
false
;
if
(
docInfo
.
registered
==
"
true
"
)
return
false
;
if
(
registryInfo
.
rr_edit
!=
"
Y
"
)
return
false
;
if
(
registryInfo
.
rr_edit
!=
"
Y
"
)
return
false
;
if
(
this
.
_doc
.
canEdit
==
"
false
"
)
return
false
;
if
(
workInfo
)
{
if
(
workInfo
)
{
const
{
actionID
,
has_subprocesses
,
parent_process
}
=
workInfo
;
const
{
actionID
,
has_subprocesses
,
parent_process
}
=
workInfo
;
...
@@ -2001,8 +2002,7 @@ class ARMFooter {
...
@@ -2001,8 +2002,7 @@ class ARMFooter {
}
}
}
}
}
}
if
(
_doc
.
canEdit
==
"
true
"
)
_doc
.
canEdit
=
true
;
return
canEdit
;
return
canEdit
||
_doc
.
canEdit
;
}
}
async
initParams
(
_doc
){
async
initParams
(
_doc
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment