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
2aa93512
Commit
2aa93512
authored
Feb 20, 2017
by
Mikaël Salson
Browse files
segmenter_page.js: Prevent from selecting virtual clones
parent
965727e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
browser/segmenter_page.js
View file @
2aa93512
...
...
@@ -79,8 +79,10 @@ function processResult(data) {
// Do not select virtual clones
var
cloneIds
=
[];
for
(
var
i
=
0
;
i
<
model
.
clones
.
length
-
1
;
i
++
)
{
cloneIds
.
push
(
i
);
for
(
var
i
=
0
;
i
<
model
.
clones
.
length
;
i
++
)
{
if
(
!
model
.
clones
[
i
].
isVirtual
())
{
cloneIds
.
push
(
i
);
}
}
model
.
multiSelect
(
cloneIds
);
...
...
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