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
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
Levin Zimmermann
erp5
Commits
3f955de2
Commit
3f955de2
authored
Mar 13, 2023
by
Sebastien Robin
Committed by
Eteri
Jul 27, 2023
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MONITORING erp5_web_renderjs_ui: add needed support for latest ERP5 changes
parent
4d3abca6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_js.js
...ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_js.js
+13
-1
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_js.js
View file @
3f955de2
...
...
@@ -15,6 +15,7 @@
var
MAIN_SCOPE
=
"
m
"
;
function
renderMainGadget
(
gadget
,
url
,
options
)
{
return
gadget
.
declareGadget
(
url
,
{
scope
:
MAIN_SCOPE
...
...
@@ -61,6 +62,7 @@
});
}
function
increaseLoadingCounter
(
gadget
)
{
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
...
...
@@ -200,7 +202,6 @@
return
jio_gadget
.
put
(
'
setting
'
,
doc
);
});
}
//////////////////////////////////////////
// Page rendering
//////////////////////////////////////////
...
...
@@ -377,6 +378,12 @@
param_list
);
});
})
.
allowPublicAcquisition
(
"
getUrlForList
"
,
function
getUrlForList
(
param_list
)
{
return
route
(
this
,
'
router
'
,
'
getCommandUrlForList
'
,
param_list
);
})
.
allowPublicAcquisition
(
"
updateHeader
"
,
function
(
param_list
)
{
var
gadget
=
this
;
...
...
@@ -423,6 +430,10 @@
}
});
})
.
allowPublicAcquisition
(
"
updatePanel
"
,
function
updatePanel
(
param_list
)
{
return
;
})
.
allowPublicAcquisition
(
'
triggerPanel
'
,
function
()
{
return
route
(
this
,
"
panel
"
,
"
toggle
"
);
...
...
@@ -472,6 +483,7 @@
.
allowPublicAcquisition
(
"
renderApplication
"
,
function
(
param_list
)
{
return
this
.
renderXXX
.
apply
(
this
,
param_list
);
})
// Render the page
.
declareMethod
(
'
renderXXX
'
,
function
(
options
)
{
var
gadget
=
this
;
...
...
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