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
3407bd79
Commit
3407bd79
authored
Sep 22, 2017
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
standard
parent
45a16ef7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
compile-tab.js
src/app/tabs/compile-tab.js
+1
-1
run-tab.js
src/app/tabs/run-tab.js
+2
-2
No files found.
src/app/tabs/compile-tab.js
View file @
3407bd79
...
@@ -436,7 +436,7 @@ function compileTab (container, appAPI, appEvents, opts) {
...
@@ -436,7 +436,7 @@ function compileTab (container, appAPI, appEvents, opts) {
}
else
{
}
else
{
alert
(
'Metadata published successfully. You
\'
l find the Swarm address in the Contract details.'
)
alert
(
'Metadata published successfully. You
\'
l find the Swarm address in the Contract details.'
)
}
}
})
})
}
}
}
}
}
}
...
...
src/app/tabs/run-tab.js
View file @
3407bd79
...
@@ -297,11 +297,11 @@ function contractDropdown (appAPI, appEvents, instanceContainer) {
...
@@ -297,11 +297,11 @@ function contractDropdown (appAPI, appEvents, instanceContainer) {
var
contracts
=
appAPI
.
getContracts
()
var
contracts
=
appAPI
.
getContracts
()
var
contractName
=
contractNames
.
children
[
contractNames
.
selectedIndex
].
innerHTML
var
contractName
=
contractNames
.
children
[
contractNames
.
selectedIndex
].
innerHTML
var
contract
=
appAPI
.
getContracts
()[
contractName
]
var
contract
=
appAPI
.
getContracts
()[
contractName
]
if
(
contract
.
bytecode
.
length
===
0
)
{
if
(
contract
.
bytecode
.
length
===
0
)
{
modalDialogCustom
.
alert
(
'This contract does not implement all functions and thus cannot be created.'
)
modalDialogCustom
.
alert
(
'This contract does not implement all functions and thus cannot be created.'
)
return
return
}
}
var
constructor
=
txHelper
.
getConstructorInterface
(
contract
.
interface
)
var
constructor
=
txHelper
.
getConstructorInterface
(
contract
.
interface
)
var
args
=
createButtonInput
.
value
var
args
=
createButtonInput
.
value
...
...
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