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
137
Merge Requests
137
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
4e1ccd02
Commit
4e1ccd02
authored
Apr 22, 2022
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: no need to workaround null values
jio 3.45.0 fixed the issue
parent
f9f7aef6
Pipeline
#21073
failed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_frontpage_js.js
...teItem/web_page_module/rjs_gadget_erp5_pt_frontpage_js.js
+1
-6
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_frontpage_js.xml
...eItem/web_page_module/rjs_gadget_erp5_pt_frontpage_js.xml
+2
-2
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_frontpage_js.js
View file @
4e1ccd02
...
@@ -62,11 +62,6 @@
...
@@ -62,11 +62,6 @@
i
,
i
,
len
=
result_list
.
data
.
total_rows
;
len
=
result_list
.
data
.
total_rows
;
for
(
i
=
0
;
i
<
len
;
i
+=
1
)
{
for
(
i
=
0
;
i
<
len
;
i
+=
1
)
{
// queries do not accept null value
result_list
.
data
.
rows
[
i
].
value
.
business_application_translated_title
=
result_list
.
data
.
rows
[
i
].
value
.
business_application_translated_title
||
''
;
result_list
.
data
.
rows
[
i
].
value
.
id
=
result_list
.
data
.
rows
[
i
].
value
.
id
=
result_list
.
data
.
rows
[
i
].
id
;
result_list
.
data
.
rows
[
i
].
id
;
data_rows
.
push
(
result_list
.
data
.
rows
[
i
].
value
);
data_rows
.
push
(
result_list
.
data
.
rows
[
i
].
value
);
...
@@ -113,7 +108,7 @@
...
@@ -113,7 +108,7 @@
function
pushNewCard
()
{
function
pushNewCard
()
{
if
(
module_list
)
{
if
(
module_list
)
{
if
(
current_business_application_title
===
''
)
{
if
(
!
current_business_application_title
)
{
other_module_list
=
module_list
;
other_module_list
=
module_list
;
}
else
{
}
else
{
card_list
.
push
({
card_list
.
push
({
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_frontpage_js.xml
View file @
4e1ccd02
...
@@ -234,7 +234,7 @@
...
@@ -234,7 +234,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
99
4.13854.35574.25361
</string>
</value>
<value>
<string>
99
9.47588.53063.49288
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -252,7 +252,7 @@
...
@@ -252,7 +252,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
16
31892657.11
</float>
<float>
16
50641719.13
</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