Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
officejs_fs2erp5_gadget
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
officejs_fs2erp5_gadget
Commits
e680c59b
Commit
e680c59b
authored
Oct 10, 2017
by
Boris Kocherov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use publish workflow state for all documents
parent
364b72b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
11 deletions
+4
-11
jio_fs2erp5storage.js
jio_fs2erp5storage.js
+4
-11
No files found.
jio_fs2erp5storage.js
View file @
e680c59b
...
...
@@ -195,7 +195,6 @@
"
Owner
"
];
obj
.
_Add_portal_content_Permission
=
[
"
Assignee
"
,
"
Assignor
"
,
"
Manager
"
];
...
...
@@ -204,8 +203,6 @@
"
Manager
"
];
obj
.
_Modify_portal_content_Permission
=
[
"
Assignee
"
,
"
Assignor
"
,
"
Manager
"
];
obj
.
_View_Permission
=
[
...
...
@@ -403,8 +400,8 @@
}
xmldoc
.
version
=
context
.
_options
.
version
;
document_publication_wfl
=
{
action
:
"
publish
_alive
"
,
validation_state
:
"
published
_alive
"
action
:
"
publish
"
,
validation_state
:
"
published
"
};
xmldoc
.
workflow_history
=
{
document_publication_workflow
:
document_publication_wfl
...
...
@@ -479,8 +476,6 @@
default
:
xmldoc
.
content_type
=
"
image/
"
+
ext
;
}
document_publication_wfl
.
action
=
"
publish
"
;
document_publication_wfl
.
validation_state
=
"
published
"
;
break
;
case
"
json
"
:
xmldoc
.
content_type
=
"
application/json
"
;
...
...
@@ -504,8 +499,6 @@
xmldoc
.
portal_type
=
"
File
"
;
path
=
"
document_module
"
;
xmldoc
.
title
=
filename
;
document_publication_wfl
.
action
=
"
publish
"
;
document_publication_wfl
.
validation_state
=
"
published
"
;
}
path
=
path
+
"
/
"
;
for
(
i
in
context
.
_template_path_list
)
{
...
...
@@ -544,8 +537,8 @@
content_type
:
null
,
// "text/cache-manifest
workflow_history
:
{
document_publication_workflow
:
{
action
:
"
publish
_alive
"
,
validation_state
:
"
published
_alive
"
action
:
"
publish
"
,
validation_state
:
"
published
"
}
},
text_content
:
"
CACHE MANIFEST
\n
CACHE:
\n
"
+
...
...
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