Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Added description to meter types yang model."
[controller.git]
/
opendaylight
/
web
/
root
/
src
/
main
/
resources
/
js
/
lib.js
diff --git
a/opendaylight/web/root/src/main/resources/js/lib.js
b/opendaylight/web/root/src/main/resources/js/lib.js
index 00eacdfce6b9eba6fed4b472a95f4a265748877b..c265760b97d28ff95210822e7bb0bf02293af925 100644
(file)
--- a/
opendaylight/web/root/src/main/resources/js/lib.js
+++ b/
opendaylight/web/root/src/main/resources/js/lib.js
@@
-373,11
+373,11
@@
one.lib.nav = {
one.lib.helper = {
parseInt : function(value) {
one.lib.helper = {
parseInt : function(value) {
- return (value !=
= null && value
!== '') ?
+ return (value !=
null && value.trim()
!== '') ?
parseInt(value) : ''
},
parseFloat : function(value) {
parseInt(value) : ''
},
parseFloat : function(value) {
- return (value !=
= null && value
!== '') ?
+ return (value !=
null && value.trim()
!== '') ?
parseFloat(value) : ''
}
}
parseFloat(value) : ''
}
}