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
709345c6
Commit
709345c6
authored
Aug 18, 2026
by
Samir Sadyhov
🤔
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix openDocument.js
parent
4fe64316
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
constructor/scripts/openDocument/openDocument.js
constructor/scripts/openDocument/openDocument.js
+3
-4
No files found.
constructor/scripts/openDocument/openDocument.js
View file @
709345c6
...
@@ -432,7 +432,7 @@ const activateDocument = async _doc => {
...
@@ -432,7 +432,7 @@ const activateDocument = async _doc => {
try
{
try
{
Cons
.
showLoader
();
Cons
.
showLoader
();
const
asfData
=
formPlayer
.
model
.
getAsfData
();
const
asfData
=
formPlayer
.
model
.
getAsfData
();
await
AS
.
FORMS
.
ApiUtils
.
saveAsfData
(
asfData
.
data
,
asfData
.
form
,
asfData
.
uuid
);
await
AS
.
FORMS
.
ApiUtils
.
saveAsfData
(
asfData
.
data
,
asfData
.
form
,
asfData
.
uuid
);
...
@@ -1009,7 +1009,7 @@ class Document {
...
@@ -1009,7 +1009,7 @@ class Document {
break
;
break
;
case
'
resolution-action-single
'
:
console
.
log
(
'
Резолюция? хммм....
'
);
break
;
// Резолюция
case
'
resolution-action-single
'
:
console
.
log
(
'
Резолюция? хммм....
'
);
break
;
// Резолюция
}
}
}
else
if
(
AS
.
OPTIONS
.
currentUser
.
userid
==
author
.
id
)
{
}
else
if
(
AS
.
OPTIONS
.
currentUser
.
userid
==
author
.
id
&&
[
'
null
'
,
'
assignment-single
'
].
includes
(
parent_process
)
)
{
if
(
completionForm
&&
completionForm
.
hasOwnProperty
(
'
is_result_free
'
)
&&
!
completionForm
.
is_result_free
)
{
if
(
completionForm
&&
completionForm
.
hasOwnProperty
(
'
is_result_free
'
)
&&
!
completionForm
.
is_result_free
)
{
createButton
(
this
.
_doc
,
i18n
.
tr
(
"
Завершить
"
),
'
arm_action_button3
'
,
()
=>
{
createButton
(
this
.
_doc
,
i18n
.
tr
(
"
Завершить
"
),
'
arm_action_button3
'
,
()
=>
{
_WORK
.
acceptWork
(
this
.
_doc
);
_WORK
.
acceptWork
(
this
.
_doc
);
...
@@ -1029,7 +1029,6 @@ class Document {
...
@@ -1029,7 +1029,6 @@ class Document {
}
}
}
}
}
}
}
}
resizePanels
(
this
.
_doc
);
resizePanels
(
this
.
_doc
);
...
@@ -2026,7 +2025,7 @@ class ARMFooter {
...
@@ -2026,7 +2025,7 @@ class ARMFooter {
_doc
.
process
=
await
AS
.
FORMS
.
ApiUtils
.
simpleAsyncGet
(
`rest/api/workflow/get_execution_process?documentID=
${
_doc
.
documentID
}
&locale=
${
AS
.
OPTIONS
.
locale
}
`
);
_doc
.
process
=
await
AS
.
FORMS
.
ApiUtils
.
simpleAsyncGet
(
`rest/api/workflow/get_execution_process?documentID=
${
_doc
.
documentID
}
&locale=
${
AS
.
OPTIONS
.
locale
}
`
);
_doc
.
processResponsible
=
getResponsibleUserWork
(
_doc
.
process
);
_doc
.
processResponsible
=
getResponsibleUserWork
(
_doc
.
process
);
_doc
.
process
=
getUserWork
(
_doc
.
process
,
AS
.
OPTIONS
.
currentUser
.
userid
);
_doc
.
process
=
getUserWork
(
_doc
.
process
,
AS
.
OPTIONS
.
currentUser
.
userid
);
if
(
_doc
.
type
==
'
document
'
)
{
if
(
_doc
.
type
==
'
document
'
)
{
if
(
_doc
.
process
.
length
)
{
if
(
_doc
.
process
.
length
)
{
...
...
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