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
213a8cf4
Commit
213a8cf4
authored
Jul 03, 2018
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix references
parent
1702ffe5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
run-tab.js
src/app/tabs/run-tab.js
+3
-5
No files found.
src/app/tabs/run-tab.js
View file @
213a8cf4
...
@@ -252,10 +252,8 @@ function makeRecorder (registry, runTabEvent, self) {
...
@@ -252,10 +252,8 @@ function makeRecorder (registry, runTabEvent, self) {
update account address in scenario.json
update account address in scenario.json
popup if scenario.json not open - "Open a file with transactions you want to replay and click play again"
popup if scenario.json not open - "Open a file with transactions you want to replay and click play again"
*/
*/
var
currentFile
=
self
.
_deps
.
config
.
get
(
'currentFile'
).
api
var
currentFile
=
self
.
_deps
.
config
.
get
(
'currentFile'
)
var
udappUI
=
self
.
_deps
.
config
.
get
(
'udappUI'
).
api
self
.
_deps
.
fileManager
.
fileProviderOf
(
currentFile
).
get
(
currentFile
,
(
error
,
json
)
=>
{
var
fileManager
=
self
.
_deps
.
config
.
get
(
'fileManager'
).
api
fileManager
.
fileProviderOf
(
currentFile
).
get
(
currentFile
,
(
error
,
json
)
=>
{
if
(
error
)
{
if
(
error
)
{
modalDialogCustom
.
alert
(
'Invalid Scenario File '
+
error
)
modalDialogCustom
.
alert
(
'Invalid Scenario File '
+
error
)
}
else
{
}
else
{
...
@@ -274,7 +272,7 @@ function makeRecorder (registry, runTabEvent, self) {
...
@@ -274,7 +272,7 @@ function makeRecorder (registry, runTabEvent, self) {
var
noInstancesText
=
self
.
_view
.
noInstancesText
var
noInstancesText
=
self
.
_view
.
noInstancesText
if
(
noInstancesText
.
parentNode
)
{
noInstancesText
.
parentNode
.
removeChild
(
noInstancesText
)
}
if
(
noInstancesText
.
parentNode
)
{
noInstancesText
.
parentNode
.
removeChild
(
noInstancesText
)
}
recorder
.
run
(
txArray
,
accounts
,
options
,
abis
,
linkReferences
,
self
.
_deps
.
udapp
,
(
abi
,
address
,
contractName
)
=>
{
recorder
.
run
(
txArray
,
accounts
,
options
,
abis
,
linkReferences
,
self
.
_deps
.
udapp
,
(
abi
,
address
,
contractName
)
=>
{
self
.
_view
.
instanceContainer
.
appendChild
(
udappUI
.
renderInstanceFromABI
(
abi
,
address
,
contractName
))
self
.
_view
.
instanceContainer
.
appendChild
(
self
.
_deps
.
udappUI
.
renderInstanceFromABI
(
abi
,
address
,
contractName
))
})
})
}
}
}
else
{
}
else
{
...
...
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