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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
4ff63049
Commit
4ff63049
authored
Feb 05, 2021
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: getCommandUrlForDict
parent
e4273c58
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
6 deletions
+29
-6
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_launcher_js.js
...mplateItem/web_page_module/rjs_gadget_erp5_launcher_js.js
+5
-0
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_launcher_js.xml
...plateItem/web_page_module/rjs_gadget_erp5_launcher_js.xml
+2
-2
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_router_js.js
...TemplateItem/web_page_module/rjs_gadget_erp5_router_js.js
+11
-0
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_router_js.xml
...emplateItem/web_page_module/rjs_gadget_erp5_router_js.xml
+2
-2
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_interface_router.html
...athTemplateItem/web_page_module/rjs_interface_router.html
+7
-0
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_interface_router.xml
...PathTemplateItem/web_page_module/rjs_interface_router.xml
+2
-2
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_launcher_js.js
View file @
4ff63049
...
...
@@ -585,6 +585,11 @@
)
{
return
route
(
this
,
'
router
'
,
'
getCommandUrlForList
'
,
param_list
);
})
.
allowPublicAcquisition
(
"
getUrlForDict
"
,
function
getUrlForDict
(
param_list
)
{
return
route
(
this
,
'
router
'
,
'
getCommandUrlForDict
'
,
param_list
);
})
.
allowPublicAcquisition
(
"
updateHeader
"
,
function
updateHeader
(
param_list
)
{
initHeaderOptions
(
this
);
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_launcher_js.xml
View file @
4ff63049
...
...
@@ -234,7 +234,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
989.
7273.32666.52736
</string>
</value>
<value>
<string>
989.
27523.29749.43383
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>
16
09765240.15
</float>
<float>
16
12532987.6
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_router_js.js
View file @
4ff63049
...
...
@@ -1107,6 +1107,17 @@
}
return
result_list
;
})
.
declareMethod
(
'
getCommandUrlForDict
'
,
function
getCommandUrlForDict
(
options_dict
)
{
var
key
;
for
(
key
in
options_dict
)
{
if
(
options_dict
.
hasOwnProperty
(
key
))
{
options_dict
[
key
]
=
getCommandUrlForMethod
(
this
,
options_dict
[
key
]);
}
}
return
options_dict
;
})
.
declareMethod
(
'
getCommandUrlFor
'
,
function
getCommandUrlFor
(
options
)
{
return
getCommandUrlForMethod
(
this
,
options
);
})
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_router_js.xml
View file @
4ff63049
...
...
@@ -236,7 +236,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
989.
17139.27691.33245
</string>
</value>
<value>
<string>
989.
53404.33387.10564
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>
161
0357319.16
</float>
<float>
161
2533436.71
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_interface_router.html
View file @
4ff63049
...
...
@@ -28,6 +28,13 @@
<dd>
List of option_dict parameter to pass to all getCommandUrlFor call
</dd>
</dl>
<dt>
getCommandUrlForDict
</dt>
<dd>
Calculate a dict of url
</dd>
<dl>
<dt>
option_dict_dict
</dt>
<dd>
Dict of option_dict parameter to pass to all getCommandUrlFor call
</dd>
</dl>
<dt>
redirect
</dt>
<dd>
Change the URL
</dd>
<dl>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_interface_router.xml
View file @
4ff63049
...
...
@@ -238,7 +238,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
70.17048.52617.25105
</string>
</value>
<value>
<string>
9
89.33076.35205.19609
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -256,7 +256,7 @@
</tuple>
<state>
<tuple>
<float>
1
536936538.99
</float>
<float>
1
612533051.72
</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