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
5e0f5f17
Commit
5e0f5f17
authored
Jul 25, 2017
by
Luke "Jared" Bennett
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ide' of gitlab.com:gitlab-org/gitlab-ce into ide
parents
50233297
fbacfdb0
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
3 deletions
+6
-3
app/assets/javascripts/repo/repo_editor.vue
app/assets/javascripts/repo/repo_editor.vue
+1
-1
app/assets/javascripts/repo/repo_helper.js
app/assets/javascripts/repo/repo_helper.js
+3
-1
app/assets/javascripts/repo/repo_store.js
app/assets/javascripts/repo/repo_store.js
+1
-1
app/assets/stylesheets/pages/repo.scss
app/assets/stylesheets/pages/repo.scss
+1
-0
No files found.
app/assets/javascripts/repo/repo_editor.vue
View file @
5e0f5f17
...
@@ -68,7 +68,7 @@ const RepoEditor = {
...
@@ -68,7 +68,7 @@ const RepoEditor = {
editMode
()
{
editMode
()
{
const
panelClassList
=
document
.
querySelector
(
'
.panel-right
'
).
classList
;
const
panelClassList
=
document
.
querySelector
(
'
.panel-right
'
).
classList
;
let
readOnly
=
tru
e
;
let
readOnly
=
fals
e
;
if
(
this
.
editMode
)
{
if
(
this
.
editMode
)
{
panelClassList
.
add
(
'
edit-mode
'
);
panelClassList
.
add
(
'
edit-mode
'
);
...
...
app/assets/javascripts/repo/repo_helper.js
View file @
5e0f5f17
...
@@ -183,7 +183,9 @@ const RepoHelper = {
...
@@ -183,7 +183,9 @@ const RepoHelper = {
scrollTabsRight
()
{
scrollTabsRight
()
{
// wait for the transition. 0.1 seconds.
// wait for the transition. 0.1 seconds.
setTimeout
(()
=>
{
setTimeout
(()
=>
{
document
.
getElementById
(
'
tabs
'
).
scrollLeft
=
12000
;
const
tabs
=
document
.
getElementById
(
'
tabs
'
);
if
(
!
tabs
)
return
;
tabs
.
scrollLeft
=
12000
;
},
200
)
},
200
)
},
},
...
...
app/assets/javascripts/repo/repo_store.js
View file @
5e0f5f17
...
@@ -109,7 +109,7 @@ const RepoStore = {
...
@@ -109,7 +109,7 @@ const RepoStore = {
RepoStore
.
files
=
RepoStore
.
files
.
filter
((
file
)
=>
{
RepoStore
.
files
=
RepoStore
.
files
.
filter
((
file
)
=>
{
const
isItTheTreeWeWant
=
file
.
url
===
treeToClose
.
url
;
const
isItTheTreeWeWant
=
file
.
url
===
treeToClose
.
url
;
// if it's the next tree
// if it's the next tree
if
(
foundTree
&&
file
.
type
===
'
tree
'
&&
!
isItTheTreeWeWant
)
{
if
(
foundTree
&&
file
.
type
===
'
tree
'
&&
!
isItTheTreeWeWant
&&
file
.
level
===
treeToClose
.
level
)
{
wereDone
=
true
;
wereDone
=
true
;
return
true
;
return
true
;
}
}
...
...
app/assets/stylesheets/pages/repo.scss
View file @
5e0f5f17
...
@@ -49,6 +49,7 @@
...
@@ -49,6 +49,7 @@
.cursor
{
.cursor
{
background
:
$black
;
background
:
$black
;
border-color
:
$black
;
border-color
:
$black
;
display
:
block
!
important
;
}
}
}
}
}
}
...
...
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