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
Thomas Gambier
erp5
Commits
4460fe67
Commit
4460fe67
authored
May 10, 2021
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: speed up router ready
parent
d522d1a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
52 deletions
+51
-52
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
+49
-50
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
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_router_js.js
View file @
4460fe67
...
@@ -1055,59 +1055,58 @@
...
@@ -1055,59 +1055,58 @@
rJS
(
window
)
rJS
(
window
)
.
ready
(
function
createProps
(
gadget
)
{
.
ready
(
function
routerReady
(
gadget
)
{
gadget
.
props
=
{
gadget
.
props
=
{
options
:
{}
options
:
{}
};
};
})
return
RSVP
.
all
([
(
function
createJioSelection
()
{
.
ready
(
function
createJioSelection
(
gadget
)
{
return
gadget
.
getDeclaredGadget
(
"
jio_selection
"
)
return
gadget
.
getDeclaredGadget
(
"
jio_selection
"
)
.
push
(
function
(
jio_gadget
)
{
.
push
(
function
(
jio_gadget
)
{
gadget
.
props
.
jio_gadget
=
jio_gadget
;
gadget
.
props
.
jio_gadget
=
jio_gadget
;
return
jio_gadget
.
createJio
({
return
jio_gadget
.
createJio
({
type
:
"
sha
"
,
type
:
"
sha
"
,
sub_storage
:
{
sub_storage
:
{
type
:
"
indexeddb
"
,
type
:
"
indexeddb
"
,
database
:
"
selection
"
database
:
"
selection
"
}
}
});
});
});
});
}()),
})
(
function
createJioNavigationHistory
()
{
return
gadget
.
getDeclaredGadget
(
"
jio_navigation_history
"
)
.
ready
(
function
createJioNavigationHistory
(
gadget
)
{
.
push
(
function
(
jio_gadget
)
{
return
gadget
.
getDeclaredGadget
(
"
jio_navigation_history
"
)
gadget
.
props
.
jio_navigation_gadget
=
jio_gadget
;
.
push
(
function
(
jio_gadget
)
{
return
jio_gadget
.
createJio
({
gadget
.
props
.
jio_navigation_gadget
=
jio_gadget
;
type
:
"
query
"
,
return
jio_gadget
.
createJio
({
sub_storage
:
{
type
:
"
query
"
,
type
:
"
indexeddb
"
,
sub_storage
:
{
database
:
"
navigation_history
"
type
:
"
indexeddb
"
,
}
database
:
"
navigation_history
"
});
}
});
});
}()),
});
(
function
createJioDocumentState
()
{
})
return
gadget
.
getDeclaredGadget
(
"
jio_document_state
"
)
.
push
(
function
(
jio_gadget
)
{
.
ready
(
function
createJioDocumentState
(
gadget
)
{
gadget
.
props
.
jio_state_gadget
=
jio_gadget
;
return
gadget
.
getDeclaredGadget
(
"
jio_document_state
"
)
return
jio_gadget
.
createJio
({
.
push
(
function
(
jio_gadget
)
{
type
:
"
indexeddb
"
,
gadget
.
props
.
jio_state_gadget
=
jio_gadget
;
database
:
"
document_state
"
return
jio_gadget
.
createJio
({
});
type
:
"
indexeddb
"
,
});
database
:
"
document_state
"
}()),
});
(
function
createJioForContent
()
{
});
return
gadget
.
getDeclaredGadget
(
"
jio_form_content
"
)
})
.
push
(
function
(
jio_form_content
)
{
.
ready
(
function
createJioForContent
(
g
)
{
gadget
.
props
.
jio_form_content
=
jio_form_content
;
return
g
.
getDeclaredGadget
(
"
jio_form_content
"
)
return
jio_form_content
.
createJio
({
.
push
(
function
(
jio_form_content
)
{
type
:
"
local
"
,
g
.
props
.
jio_form_content
=
jio_form_content
;
sessiononly
:
true
return
jio_form_content
.
createJio
({
});
type
:
"
local
"
,
});
sessiononly
:
true
}())
});
]);
});
})
})
.
declareMethod
(
'
getCommandUrlForList
'
,
function
getCommandUrlForList
(
.
declareMethod
(
'
getCommandUrlForList
'
,
function
getCommandUrlForList
(
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_router_js.xml
View file @
4460fe67
...
@@ -236,7 +236,7 @@
...
@@ -236,7 +236,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
991.6347
0.31913.42018
</string>
</value>
<value>
<string>
991.6347
4.14071.31470
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -254,7 +254,7 @@
...
@@ -254,7 +254,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
162065
5812.82
</float>
<float>
162065
6308.36
</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