Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
1
Merge Requests
1
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
Vincent Bechu
erp5
Commits
4773d07b
Commit
4773d07b
authored
Aug 21, 2018
by
Vincent Bechu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_officejs_ooffice] Can't edit onlyoffice preview document metadata
parent
a2594bc6
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
30 deletions
+30
-30
bt5/erp5_officejs_ooffice/PathTemplateItem/web_page_module/gadget_ooffice_jio_presentation_view_js.js
...eb_page_module/gadget_ooffice_jio_presentation_view_js.js
+7
-7
bt5/erp5_officejs_ooffice/PathTemplateItem/web_page_module/gadget_ooffice_jio_presentation_view_js.xml
...b_page_module/gadget_ooffice_jio_presentation_view_js.xml
+3
-3
bt5/erp5_officejs_ooffice/PathTemplateItem/web_page_module/gadget_ooffice_jio_spreadsheet_view_js.js
...web_page_module/gadget_ooffice_jio_spreadsheet_view_js.js
+7
-7
bt5/erp5_officejs_ooffice/PathTemplateItem/web_page_module/gadget_ooffice_jio_spreadsheet_view_js.xml
...eb_page_module/gadget_ooffice_jio_spreadsheet_view_js.xml
+3
-3
bt5/erp5_officejs_ooffice/PathTemplateItem/web_page_module/gadget_ooffice_jio_text_view_js.js
...teItem/web_page_module/gadget_ooffice_jio_text_view_js.js
+7
-7
bt5/erp5_officejs_ooffice/PathTemplateItem/web_page_module/gadget_ooffice_jio_text_view_js.xml
...eItem/web_page_module/gadget_ooffice_jio_text_view_js.xml
+3
-3
No files found.
bt5/erp5_officejs_ooffice/PathTemplateItem/web_page_module/gadget_ooffice_jio_presentation_view_js.js
View file @
4773d07b
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
.
onStateChange
(
function
()
{
.
onStateChange
(
function
()
{
var
gadget
=
this
,
var
gadget
=
this
,
data
,
data
,
editable
=
gadget
.
state
.
content_editable
;
editable
=
gadget
.
state
.
content_editable
?
1
:
0
;
return
new
RSVP
.
Queue
()
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
.
push
(
function
()
{
if
(
!
editable
)
{
if
(
!
editable
)
{
...
@@ -128,7 +128,7 @@
...
@@ -128,7 +128,7 @@
"
default
"
:
gadget
.
state
.
doc
.
title
,
"
default
"
:
gadget
.
state
.
doc
.
title
,
"
css_class
"
:
""
,
"
css_class
"
:
""
,
"
required
"
:
1
,
"
required
"
:
1
,
"
editable
"
:
1
,
"
editable
"
:
editable
,
"
key
"
:
"
title
"
,
"
key
"
:
"
title
"
,
"
hidden
"
:
0
,
"
hidden
"
:
0
,
"
type
"
:
"
StringField
"
"
type
"
:
"
StringField
"
...
@@ -139,7 +139,7 @@
...
@@ -139,7 +139,7 @@
"
default
"
:
gadget
.
state
.
doc
.
reference
,
"
default
"
:
gadget
.
state
.
doc
.
reference
,
"
css_class
"
:
""
,
"
css_class
"
:
""
,
"
required
"
:
0
,
"
required
"
:
0
,
"
editable
"
:
1
,
"
editable
"
:
editable
,
"
key
"
:
"
reference
"
,
"
key
"
:
"
reference
"
,
"
hidden
"
:
0
,
"
hidden
"
:
0
,
"
type
"
:
"
StringField
"
"
type
"
:
"
StringField
"
...
@@ -150,7 +150,7 @@
...
@@ -150,7 +150,7 @@
"
default
"
:
gadget
.
state
.
doc
.
version
,
"
default
"
:
gadget
.
state
.
doc
.
version
,
"
css_class
"
:
""
,
"
css_class
"
:
""
,
"
required
"
:
0
,
"
required
"
:
0
,
"
editable
"
:
1
,
"
editable
"
:
editable
,
"
key
"
:
"
version
"
,
"
key
"
:
"
version
"
,
"
hidden
"
:
0
,
"
hidden
"
:
0
,
"
type
"
:
"
StringField
"
"
type
"
:
"
StringField
"
...
@@ -161,7 +161,7 @@
...
@@ -161,7 +161,7 @@
"
default
"
:
gadget
.
state
.
doc
.
language
,
"
default
"
:
gadget
.
state
.
doc
.
language
,
"
css_class
"
:
""
,
"
css_class
"
:
""
,
"
required
"
:
0
,
"
required
"
:
0
,
"
editable
"
:
1
,
"
editable
"
:
editable
,
"
key
"
:
"
language
"
,
"
key
"
:
"
language
"
,
"
hidden
"
:
0
,
"
hidden
"
:
0
,
"
type
"
:
"
StringField
"
"
type
"
:
"
StringField
"
...
@@ -172,7 +172,7 @@
...
@@ -172,7 +172,7 @@
"
default
"
:
gadget
.
state
.
doc
.
description
,
"
default
"
:
gadget
.
state
.
doc
.
description
,
"
css_class
"
:
""
,
"
css_class
"
:
""
,
"
required
"
:
0
,
"
required
"
:
0
,
"
editable
"
:
1
,
"
editable
"
:
editable
,
"
key
"
:
"
description
"
,
"
key
"
:
"
description
"
,
"
hidden
"
:
0
,
"
hidden
"
:
0
,
"
type
"
:
"
TextAreaField
"
"
type
"
:
"
TextAreaField
"
...
@@ -232,7 +232,7 @@
...
@@ -232,7 +232,7 @@
selection_url
:
url_list
[
0
],
selection_url
:
url_list
[
0
],
previous_url
:
url_list
[
1
],
previous_url
:
url_list
[
1
],
next_url
:
url_list
[
2
],
next_url
:
url_list
[
2
],
save_action
:
tru
e
,
save_action
:
editabl
e
,
download_url
:
url_list
[
3
]
download_url
:
url_list
[
3
]
});
});
});
});
...
...
bt5/erp5_officejs_ooffice/PathTemplateItem/web_page_module/gadget_ooffice_jio_presentation_view_js.xml
View file @
4773d07b
...
@@ -225,7 +225,7 @@
...
@@ -225,7 +225,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
P0
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -239,7 +239,7 @@
...
@@ -239,7 +239,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
969.
27672.42411.61542
</string>
</value>
<value>
<string>
969.
40439.17819.34594
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -257,7 +257,7 @@
...
@@ -257,7 +257,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
153
3641806.59
</float>
<float>
153
4844393.84
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_ooffice/PathTemplateItem/web_page_module/gadget_ooffice_jio_spreadsheet_view_js.js
View file @
4773d07b
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
.
onStateChange
(
function
()
{
.
onStateChange
(
function
()
{
var
gadget
=
this
,
var
gadget
=
this
,
data
,
data
,
editable
=
gadget
.
state
.
content_editable
;
editable
=
gadget
.
state
.
content_editable
?
1
:
0
;
return
new
RSVP
.
Queue
()
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
.
push
(
function
()
{
if
(
!
editable
)
{
if
(
!
editable
)
{
...
@@ -128,7 +128,7 @@
...
@@ -128,7 +128,7 @@
"
default
"
:
gadget
.
state
.
doc
.
title
,
"
default
"
:
gadget
.
state
.
doc
.
title
,
"
css_class
"
:
""
,
"
css_class
"
:
""
,
"
required
"
:
1
,
"
required
"
:
1
,
"
editable
"
:
1
,
"
editable
"
:
editable
,
"
key
"
:
"
title
"
,
"
key
"
:
"
title
"
,
"
hidden
"
:
0
,
"
hidden
"
:
0
,
"
type
"
:
"
StringField
"
"
type
"
:
"
StringField
"
...
@@ -139,7 +139,7 @@
...
@@ -139,7 +139,7 @@
"
default
"
:
gadget
.
state
.
doc
.
reference
,
"
default
"
:
gadget
.
state
.
doc
.
reference
,
"
css_class
"
:
""
,
"
css_class
"
:
""
,
"
required
"
:
0
,
"
required
"
:
0
,
"
editable
"
:
1
,
"
editable
"
:
editable
,
"
key
"
:
"
reference
"
,
"
key
"
:
"
reference
"
,
"
hidden
"
:
0
,
"
hidden
"
:
0
,
"
type
"
:
"
StringField
"
"
type
"
:
"
StringField
"
...
@@ -150,7 +150,7 @@
...
@@ -150,7 +150,7 @@
"
default
"
:
gadget
.
state
.
doc
.
version
,
"
default
"
:
gadget
.
state
.
doc
.
version
,
"
css_class
"
:
""
,
"
css_class
"
:
""
,
"
required
"
:
0
,
"
required
"
:
0
,
"
editable
"
:
1
,
"
editable
"
:
editable
,
"
key
"
:
"
version
"
,
"
key
"
:
"
version
"
,
"
hidden
"
:
0
,
"
hidden
"
:
0
,
"
type
"
:
"
StringField
"
"
type
"
:
"
StringField
"
...
@@ -161,7 +161,7 @@
...
@@ -161,7 +161,7 @@
"
default
"
:
gadget
.
state
.
doc
.
language
,
"
default
"
:
gadget
.
state
.
doc
.
language
,
"
css_class
"
:
""
,
"
css_class
"
:
""
,
"
required
"
:
0
,
"
required
"
:
0
,
"
editable
"
:
1
,
"
editable
"
:
editable
,
"
key
"
:
"
language
"
,
"
key
"
:
"
language
"
,
"
hidden
"
:
0
,
"
hidden
"
:
0
,
"
type
"
:
"
StringField
"
"
type
"
:
"
StringField
"
...
@@ -172,7 +172,7 @@
...
@@ -172,7 +172,7 @@
"
default
"
:
gadget
.
state
.
doc
.
description
,
"
default
"
:
gadget
.
state
.
doc
.
description
,
"
css_class
"
:
""
,
"
css_class
"
:
""
,
"
required
"
:
0
,
"
required
"
:
0
,
"
editable
"
:
1
,
"
editable
"
:
editable
,
"
key
"
:
"
description
"
,
"
key
"
:
"
description
"
,
"
hidden
"
:
0
,
"
hidden
"
:
0
,
"
type
"
:
"
TextAreaField
"
"
type
"
:
"
TextAreaField
"
...
@@ -232,7 +232,7 @@
...
@@ -232,7 +232,7 @@
selection_url
:
url_list
[
0
],
selection_url
:
url_list
[
0
],
previous_url
:
url_list
[
1
],
previous_url
:
url_list
[
1
],
next_url
:
url_list
[
2
],
next_url
:
url_list
[
2
],
save_action
:
tru
e
,
save_action
:
editabl
e
,
download_url
:
url_list
[
3
]
download_url
:
url_list
[
3
]
});
});
});
});
...
...
bt5/erp5_officejs_ooffice/PathTemplateItem/web_page_module/gadget_ooffice_jio_spreadsheet_view_js.xml
View file @
4773d07b
...
@@ -225,7 +225,7 @@
...
@@ -225,7 +225,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
P0
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -239,7 +239,7 @@
...
@@ -239,7 +239,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
969.
27672.59993.544
76
</string>
</value>
<value>
<string>
969.
46291.42699.622
76
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -257,7 +257,7 @@
...
@@ -257,7 +257,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
153
3641822.14
</float>
<float>
153
4844402.16
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_ooffice/PathTemplateItem/web_page_module/gadget_ooffice_jio_text_view_js.js
View file @
4773d07b
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
.
onStateChange
(
function
()
{
.
onStateChange
(
function
()
{
var
gadget
=
this
,
var
gadget
=
this
,
data
,
data
,
editable
=
gadget
.
state
.
content_editable
;
editable
=
gadget
.
state
.
content_editable
?
1
:
0
;
return
new
RSVP
.
Queue
()
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
.
push
(
function
()
{
if
(
!
editable
)
{
if
(
!
editable
)
{
...
@@ -128,7 +128,7 @@
...
@@ -128,7 +128,7 @@
"
default
"
:
gadget
.
state
.
doc
.
title
,
"
default
"
:
gadget
.
state
.
doc
.
title
,
"
css_class
"
:
""
,
"
css_class
"
:
""
,
"
required
"
:
1
,
"
required
"
:
1
,
"
editable
"
:
1
,
"
editable
"
:
editable
,
"
key
"
:
"
title
"
,
"
key
"
:
"
title
"
,
"
hidden
"
:
0
,
"
hidden
"
:
0
,
"
type
"
:
"
StringField
"
"
type
"
:
"
StringField
"
...
@@ -139,7 +139,7 @@
...
@@ -139,7 +139,7 @@
"
default
"
:
gadget
.
state
.
doc
.
reference
,
"
default
"
:
gadget
.
state
.
doc
.
reference
,
"
css_class
"
:
""
,
"
css_class
"
:
""
,
"
required
"
:
0
,
"
required
"
:
0
,
"
editable
"
:
1
,
"
editable
"
:
editable
,
"
key
"
:
"
reference
"
,
"
key
"
:
"
reference
"
,
"
hidden
"
:
0
,
"
hidden
"
:
0
,
"
type
"
:
"
StringField
"
"
type
"
:
"
StringField
"
...
@@ -150,7 +150,7 @@
...
@@ -150,7 +150,7 @@
"
default
"
:
gadget
.
state
.
doc
.
version
,
"
default
"
:
gadget
.
state
.
doc
.
version
,
"
css_class
"
:
""
,
"
css_class
"
:
""
,
"
required
"
:
0
,
"
required
"
:
0
,
"
editable
"
:
1
,
"
editable
"
:
editable
,
"
key
"
:
"
version
"
,
"
key
"
:
"
version
"
,
"
hidden
"
:
0
,
"
hidden
"
:
0
,
"
type
"
:
"
StringField
"
"
type
"
:
"
StringField
"
...
@@ -161,7 +161,7 @@
...
@@ -161,7 +161,7 @@
"
default
"
:
gadget
.
state
.
doc
.
language
,
"
default
"
:
gadget
.
state
.
doc
.
language
,
"
css_class
"
:
""
,
"
css_class
"
:
""
,
"
required
"
:
0
,
"
required
"
:
0
,
"
editable
"
:
1
,
"
editable
"
:
editable
,
"
key
"
:
"
language
"
,
"
key
"
:
"
language
"
,
"
hidden
"
:
0
,
"
hidden
"
:
0
,
"
type
"
:
"
StringField
"
"
type
"
:
"
StringField
"
...
@@ -172,7 +172,7 @@
...
@@ -172,7 +172,7 @@
"
default
"
:
gadget
.
state
.
doc
.
description
,
"
default
"
:
gadget
.
state
.
doc
.
description
,
"
css_class
"
:
""
,
"
css_class
"
:
""
,
"
required
"
:
0
,
"
required
"
:
0
,
"
editable
"
:
1
,
"
editable
"
:
editable
,
"
key
"
:
"
description
"
,
"
key
"
:
"
description
"
,
"
hidden
"
:
0
,
"
hidden
"
:
0
,
"
type
"
:
"
TextAreaField
"
"
type
"
:
"
TextAreaField
"
...
@@ -232,7 +232,7 @@
...
@@ -232,7 +232,7 @@
selection_url
:
url_list
[
0
],
selection_url
:
url_list
[
0
],
previous_url
:
url_list
[
1
],
previous_url
:
url_list
[
1
],
next_url
:
url_list
[
2
],
next_url
:
url_list
[
2
],
save_action
:
tru
e
,
save_action
:
editabl
e
,
download_url
:
url_list
[
3
]
download_url
:
url_list
[
3
]
});
});
});
});
...
...
bt5/erp5_officejs_ooffice/PathTemplateItem/web_page_module/gadget_ooffice_jio_text_view_js.xml
View file @
4773d07b
...
@@ -225,7 +225,7 @@
...
@@ -225,7 +225,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
P0
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -239,7 +239,7 @@
...
@@ -239,7 +239,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
969.
27671.44198.55722
</string>
</value>
<value>
<string>
969.
40439.29455.34150
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -257,7 +257,7 @@
...
@@ -257,7 +257,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
153
3641764.26
</float>
<float>
153
4844409.14
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
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