Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Jérome Perrin
erp5
Commits
86c0fafc
Commit
86c0fafc
authored
1 year ago
by
Romain Courteaud
Committed by
Kazuhiko Shiozaki
8 months ago
Browse files
Options
Download
Email Patches
Plain Diff
erp5_core: a boolean value is not considered as empty
parent
918e7f75
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/gadget_global.js.js
...inTemplateItem/portal_skins/erp5_core/gadget_global.js.js
+4
-1
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/gadget_global.js.js
View file @
86c0fafc
...
...
@@ -14,7 +14,10 @@
(
value
===
null
)
||
((
typeof
value
===
"
number
"
)
?
isNaN
(
value
)
:
(
Object
.
keys
(
value
).
length
===
0
)
((
typeof
value
===
"
boolean
"
)
?
false
:
(
Object
.
keys
(
value
).
length
===
0
)
)
)
);
}
...
...
This diff is collapsed.
Click to expand it.
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