Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
b1ec388c
Commit
b1ec388c
authored
Jul 25, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disables sortable when in marking done mode
parent
e029c224
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
app/assets/javascripts/boards/components/board_list.js.coffee
...assets/javascripts/boards/components/board_list.js.coffee
+4
-1
No files found.
app/assets/javascripts/boards/components/board_list.js.coffee
View file @
b1ec388c
...
@@ -9,6 +9,9 @@ BoardList = Vue.extend
...
@@ -9,6 +9,9 @@ BoardList = Vue.extend
data
:
->
data
:
->
scrollOffset
:
20
scrollOffset
:
20
loadMore
:
false
loadMore
:
false
watch
:
done
:
(
done
)
->
this
.
sortable
.
option
(
'disabled'
,
done
.
issue
?
)
methods
:
methods
:
listHeight
:
->
this
.
$els
.
list
.
getBoundingClientRect
().
height
listHeight
:
->
this
.
$els
.
list
.
getBoundingClientRect
().
height
scrollHeight
:
->
this
.
$els
.
list
.
scrollHeight
scrollHeight
:
->
this
.
$els
.
list
.
scrollHeight
...
@@ -39,7 +42,7 @@ BoardList = Vue.extend
...
@@ -39,7 +42,7 @@ BoardList = Vue.extend
return
returnIssue
return
returnIssue
ready
:
->
ready
:
->
Sortable
.
create
this
.
$els
.
list
,
this
.
sortable
=
Sortable
.
create
this
.
$els
.
list
,
group
:
'issues'
group
:
'issues'
disabled
:
this
.
disabled
disabled
:
this
.
disabled
scrollSensitivity
:
150
scrollSensitivity
:
150
...
...
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