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 @@
...
@@ -15,6 +15,7 @@
var
MAIN_SCOPE
=
"
m
"
;
var
MAIN_SCOPE
=
"
m
"
;
function
renderMainGadget
(
gadget
,
url
,
options
)
{
function
renderMainGadget
(
gadget
,
url
,
options
)
{
return
gadget
.
declareGadget
(
url
,
{
return
gadget
.
declareGadget
(
url
,
{
scope
:
MAIN_SCOPE
scope
:
MAIN_SCOPE
...
@@ -61,6 +62,7 @@
...
@@ -61,6 +62,7 @@
});
});
}
}
function
increaseLoadingCounter
(
gadget
)
{
function
increaseLoadingCounter
(
gadget
)
{
return
new
RSVP
.
Queue
()
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
.
push
(
function
()
{
...
@@ -200,7 +202,6 @@
...
@@ -200,7 +202,6 @@
return
jio_gadget
.
put
(
'
setting
'
,
doc
);
return
jio_gadget
.
put
(
'
setting
'
,
doc
);
});
});
}
}
//////////////////////////////////////////
//////////////////////////////////////////
// Page rendering
// Page rendering
//////////////////////////////////////////
//////////////////////////////////////////
...
@@ -377,6 +378,12 @@
...
@@ -377,6 +378,12 @@
param_list
);
param_list
);
});
});
})
})
.
allowPublicAcquisition
(
"
getUrlForList
"
,
function
getUrlForList
(
param_list
)
{
return
route
(
this
,
'
router
'
,
'
getCommandUrlForList
'
,
param_list
);
})
.
allowPublicAcquisition
(
"
updateHeader
"
,
function
(
param_list
)
{
.
allowPublicAcquisition
(
"
updateHeader
"
,
function
(
param_list
)
{
var
gadget
=
this
;
var
gadget
=
this
;
...
@@ -423,6 +430,10 @@
...
@@ -423,6 +430,10 @@
}
}
});
});
})
})
.
allowPublicAcquisition
(
"
updatePanel
"
,
function
updatePanel
(
param_list
)
{
return
;
})
.
allowPublicAcquisition
(
'
triggerPanel
'
,
function
()
{
.
allowPublicAcquisition
(
'
triggerPanel
'
,
function
()
{
return
route
(
this
,
"
panel
"
,
"
toggle
"
);
return
route
(
this
,
"
panel
"
,
"
toggle
"
);
...
@@ -472,6 +483,7 @@
...
@@ -472,6 +483,7 @@
.
allowPublicAcquisition
(
"
renderApplication
"
,
function
(
param_list
)
{
.
allowPublicAcquisition
(
"
renderApplication
"
,
function
(
param_list
)
{
return
this
.
renderXXX
.
apply
(
this
,
param_list
);
return
this
.
renderXXX
.
apply
(
this
,
param_list
);
})
})
// Render the page
// Render the page
.
declareMethod
(
'
renderXXX
'
,
function
(
options
)
{
.
declareMethod
(
'
renderXXX
'
,
function
(
options
)
{
var
gadget
=
this
;
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