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
74d2787e
Commit
74d2787e
authored
May 28, 2019
by
LianaHus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
standard fix.
parent
b8e4b0ef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
fileManager.js
src/app/files/fileManager.js
+1
-1
tooltip.js
src/app/ui/tooltip.js
+1
-1
No files found.
src/app/files/fileManager.js
View file @
74d2787e
...
@@ -153,7 +153,7 @@ class FileManager extends FileSystemApi {
...
@@ -153,7 +153,7 @@ class FileManager extends FileSystemApi {
<
div
>
<
div
>
<
i
class
=
"fas fa-exclamation-triangle text-danger mr-1"
><
/i
>
<
i
class
=
"fas fa-exclamation-triangle text-danger mr-1"
><
/i
>
<
span
>
<
span
>
$
{
this
.
currentRequest
.
from
}
<
span
class
=
"text-
warning
"
>
is
modyfing
<
/span>${path
}
$
{
this
.
currentRequest
.
from
}
<
span
class
=
"text-
danger
"
>
is
modyfing
<
/span>${path
}
<
/span
>
<
/span
>
<
/div>`, actions, { time: 4000 }
)
<
/div>`, actions, { time: 4000 }
)
if
(
reject
)
throw
new
Error
(
`set file operation on
${
path
}
aborted by user.`
)
if
(
reject
)
throw
new
Error
(
`set file operation on
${
path
}
aborted by user.`
)
...
...
src/app/ui/tooltip.js
View file @
74d2787e
...
@@ -25,7 +25,7 @@ class Toaster {
...
@@ -25,7 +25,7 @@ class Toaster {
render
(
tooltipText
,
action
,
opts
)
{
render
(
tooltipText
,
action
,
opts
)
{
opts
=
defaultOptions
(
opts
)
opts
=
defaultOptions
(
opts
)
let
canShorten
=
true
let
canShorten
=
true
if
(
tooltipText
instanceof
Element
)
{
if
(
tooltipText
[
'nodeName'
]
)
{
canShorten
=
false
canShorten
=
false
}
else
{
}
else
{
if
(
typeof
tooltipText
===
'object'
)
{
if
(
typeof
tooltipText
===
'object'
)
{
...
...
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