Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
04cb5487
Commit
04cb5487
authored
Mar 06, 2015
by
Marc Duez
Browse files
list.js : sort handle unknow system
parent
1bd413d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
browser/js/clone.js
View file @
04cb5487
...
...
@@ -218,7 +218,6 @@ Clone.prototype = {
if
(
typeof
(
this
.
germline
)
!=
'
undefined
'
)
{
return
this
.
germline
;
}
return
""
;
},
...
...
browser/js/list.js
View file @
04cb5487
...
...
@@ -665,7 +665,9 @@ List.prototype = {
//sort by system
var
systemA
=
cloneA
.
getSystem
()
if
(
typeof
systemA
==
"
undefined
"
)
systemA
=
""
;
var
systemB
=
cloneB
.
getSystem
()
if
(
typeof
systemB
==
"
undefined
"
)
systemB
=
""
;
if
(
systemA
!=
systemB
)
return
systemA
.
localeCompare
(
systemB
);
//sort by V
...
...
@@ -699,7 +701,9 @@ List.prototype = {
//sort by system
var
systemA
=
cloneA
.
getSystem
()
if
(
typeof
systemA
==
"
undefined
"
)
systemA
=
""
;
var
systemB
=
cloneB
.
getSystem
()
if
(
typeof
systemB
==
"
undefined
"
)
systemB
=
""
;
if
(
systemA
!=
systemB
)
return
systemA
.
localeCompare
(
systemB
);
//sort by J
...
...
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