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
1
Issues
1
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
Roque
erp5
Commits
46dc143b
Commit
46dc143b
authored
Jul 08, 2019
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs: configuration urls for portal types use traditional traverse mode
parent
0a7463ef
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
17 deletions
+22
-17
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_local_jio_js.js
...plateItem/web_page_module/gadget_officejs_local_jio_js.js
+8
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_text_editor_appcache.xml
.../web_page_module/gadget_officejs_text_editor_appcache.xml
+7
-7
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_text_editor_configuration.xml
...page_module/gadget_officejs_text_editor_configuration.xml
+7
-7
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_local_jio_js.js
View file @
46dc143b
...
...
@@ -66,9 +66,14 @@
/*jslint nomen: true*/
if
(
raw_dict
.
hasOwnProperty
(
"
_embedded
"
)
&&
raw_dict
.
_embedded
.
hasOwnProperty
(
"
_view
"
))
{
raw_fields
=
raw_dict
.
_embedded
.
_view
;
//TODO: unify structure between modes (traverse & appcache)
if
(
raw_dict
.
_debug
==
"
traverse
"
)
{
type
=
raw_dict
.
_links
.
type
.
name
;
parent
=
raw_dict
.
_links
.
parent
.
name
;
}
else
{
type
=
raw_dict
.
type
.
name
;
parent
=
raw_dict
.
parent
.
name
;
/*jslint nomen: false*/
}
return_dict
.
parent_relative_url
=
"
portal_types/
"
+
parent
;
return_dict
.
portal_type
=
type
;
for
(
field_key
in
raw_fields
)
{
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_text_editor_appcache.xml
View file @
46dc143b
...
...
@@ -250,12 +250,12 @@ jio_appcachestorage.js\n
#configuration resources\n
hateoas/ERP5Document_getHateoas?mode=appcache&relative_url=portal_skins%2Ferp5_hal_json_style%2FBase_viewNewContentDialog&view=jio_view\n
\n
hateoas/ERP5Document_getHateoas?mode=
appcach
e&relative_url=portal_types%2FWeb%20Page%20Module&view=view\n
hateoas/ERP5Document_getHateoas?mode=
appcach
e&relative_url=portal_types%2FWeb%20Page%20Module%2F4&view=view\n
hateoas/ERP5Document_getHateoas?mode=
travers
e&relative_url=portal_types%2FWeb%20Page%20Module&view=view\n
hateoas/ERP5Document_getHateoas?mode=
travers
e&relative_url=portal_types%2FWeb%20Page%20Module%2F4&view=view\n
hateoas/ERP5Document_getHateoas?mode=appcache&relative_url=portal_skins%2Ferp5_web_officejs_ui%2FWebPageModule_viewWebPageListAsJio&view=jio_view\n
hateoas/ERP5Document_getHateoas?mode=
appcach
e&relative_url=portal_types%2FWeb%20Page&view=view\n
hateoas/ERP5Document_getHateoas?mode=
appcach
e&relative_url=portal_types%2FWeb%20Page%2F9&view=view\n
hateoas/ERP5Document_getHateoas?mode=
appcach
e&relative_url=portal_types%2FWeb%20Page%2F10&view=view\n
hateoas/ERP5Document_getHateoas?mode=
travers
e&relative_url=portal_types%2FWeb%20Page&view=view\n
hateoas/ERP5Document_getHateoas?mode=
travers
e&relative_url=portal_types%2FWeb%20Page%2F9&view=view\n
hateoas/ERP5Document_getHateoas?mode=
travers
e&relative_url=portal_types%2FWeb%20Page%2F10&view=view\n
hateoas/ERP5Document_getHateoas?mode=appcache&relative_url=portal_skins%2Ferp5_web_officejs_ui%2FWebPage_viewAsTextDocument&view=jio_view\n
\n
\n
...
...
@@ -741,7 +741,7 @@ NETWORK:\n
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
976.
57103.39065.37171
</string>
</value>
<value>
<string>
976.
60431.37559.38195
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -759,7 +759,7 @@ NETWORK:\n
</tuple>
<state>
<tuple>
<float>
1562
328221.49
</float>
<float>
1562
527656.62
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_text_editor_configuration.xml
View file @
46dc143b
...
...
@@ -118,12 +118,12 @@ CACHE:\n
hateoas/ERP5Document_getHateoas?mode=appcache&relative_url=portal_skins%2Ferp5_hal_json_style%2FBase_viewNewContentDialog&view=jio_view\n
\n
#text editor\n
hateoas/ERP5Document_getHateoas?mode=
appcach
e&relative_url=portal_types%2FWeb%20Page%20Module&view=view\n
hateoas/ERP5Document_getHateoas?mode=
appcach
e&relative_url=portal_types%2FWeb%20Page%20Module%2F4&view=view\n
hateoas/ERP5Document_getHateoas?mode=
travers
e&relative_url=portal_types%2FWeb%20Page%20Module&view=view\n
hateoas/ERP5Document_getHateoas?mode=
travers
e&relative_url=portal_types%2FWeb%20Page%20Module%2F4&view=view\n
hateoas/ERP5Document_getHateoas?mode=appcache&relative_url=portal_skins%2Ferp5_web_officejs_ui%2FWebPageModule_viewWebPageListAsJio&view=jio_view\n
hateoas/ERP5Document_getHateoas?mode=
appcach
e&relative_url=portal_types%2FWeb%20Page&view=view\n
hateoas/ERP5Document_getHateoas?mode=
appcach
e&relative_url=portal_types%2FWeb%20Page%2F9&view=view\n
hateoas/ERP5Document_getHateoas?mode=
appcach
e&relative_url=portal_types%2FWeb%20Page%2F10&view=view\n
hateoas/ERP5Document_getHateoas?mode=
travers
e&relative_url=portal_types%2FWeb%20Page&view=view\n
hateoas/ERP5Document_getHateoas?mode=
travers
e&relative_url=portal_types%2FWeb%20Page%2F9&view=view\n
hateoas/ERP5Document_getHateoas?mode=
travers
e&relative_url=portal_types%2FWeb%20Page%2F10&view=view\n
hateoas/ERP5Document_getHateoas?mode=appcache&relative_url=portal_skins%2Ferp5_web_officejs_ui%2FWebPage_viewAsTextDocument&view=jio_view\n
\n
NETWORK:\n
...
...
@@ -270,7 +270,7 @@ NETWORK:\n
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
976.57
103.26283.40925
</string>
</value>
<value>
<string>
976.57
227.25553.20036
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -288,7 +288,7 @@ NETWORK:\n
</tuple>
<state>
<tuple>
<float>
1562
328217.55
</float>
<float>
1562
527641.88
</float>
<string>
UTC
</string>
</tuple>
</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