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
a70e0486
Commit
a70e0486
authored
Sep 18, 2018
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clear dropdownlist
parent
79759502
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
run-tab.js
src/app/tabs/run-tab.js
+3
-3
No files found.
src/app/tabs/run-tab.js
View file @
a70e0486
...
...
@@ -310,12 +310,12 @@ function contractDropdown (events, self) {
}
self
.
_deps
.
fileManager
.
event
.
register
(
'currentFileChanged'
,
(
currentFile
)
=>
{
if
(
/.
(
.abi
)
$/
.
exec
(
currentFile
))
{
deployAction
(
'none'
)
compFails
.
style
.
display
=
'none'
document
.
querySelector
(
`.
${
css
.
contractNames
}
`
).
classList
.
remove
(
css
.
contractNamesError
)
var
contractNames
=
document
.
querySelector
(
`.
${
css
.
contractNames
.
classNames
[
0
]}
`
)
contractNames
.
innerHTML
=
''
if
(
/.
(
.abi
)
$/
.
exec
(
currentFile
))
{
deployAction
(
'none'
)
compFails
.
style
.
display
=
'none'
contractNames
.
appendChild
(
yo
`<option>(abi)</option>`
)
selectContractNames
.
setAttribute
(
'disabled'
,
true
)
}
else
if
(
/.
(
.sol
)
$/
.
exec
(
currentFile
))
{
...
...
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