Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
a766ae85
Commit
a766ae85
authored
Feb 08, 2018
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update editor
parent
7b3618d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
fileManager.js
src/app/files/fileManager.js
+2
-1
No files found.
src/app/files/fileManager.js
View file @
a766ae85
...
@@ -92,7 +92,7 @@ class FileManager {
...
@@ -92,7 +92,7 @@ class FileManager {
if
(
path
===
this
.
opt
.
config
.
get
(
'currentFile'
))
{
if
(
path
===
this
.
opt
.
config
.
get
(
'currentFile'
))
{
this
.
opt
.
config
.
set
(
'currentFile'
,
''
)
this
.
opt
.
config
.
set
(
'currentFile'
,
''
)
}
}
this
.
opt
.
editor
.
discard
(
path
)
this
.
opt
.
editor
.
discard
CurrentSession
(
)
delete
this
.
tabbedFiles
[
path
]
delete
this
.
tabbedFiles
[
path
]
this
.
refreshTabs
()
this
.
refreshTabs
()
}
}
...
@@ -131,6 +131,7 @@ class FileManager {
...
@@ -131,6 +131,7 @@ class FileManager {
_switchFile
(
browserProvider
.
type
+
'/'
+
fileList
[
0
])
_switchFile
(
browserProvider
.
type
+
'/'
+
fileList
[
0
])
}
else
{
}
else
{
self
.
event
.
trigger
(
'currentFileChanged'
,
[])
self
.
event
.
trigger
(
'currentFileChanged'
,
[])
self
.
opt
.
editor
.
displayEmptyReadOnlySession
()
}
}
})
})
}
}
...
...
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