Commit 5e0f5f17 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Merge branch 'ide' of gitlab.com:gitlab-org/gitlab-ce into ide

parents 50233297 fbacfdb0
...@@ -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 = true; let readOnly = false;
if (this.editMode) { if (this.editMode) {
panelClassList.add('edit-mode'); panelClassList.add('edit-mode');
......
...@@ -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)
}, },
......
...@@ -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;
} }
......
...@@ -49,6 +49,7 @@ ...@@ -49,6 +49,7 @@
.cursor { .cursor {
background: $black; background: $black;
border-color: $black; border-color: $black;
display: block !important;
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment