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
f199215c
Commit
f199215c
authored
Jan 12, 2018
by
ninabreznik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make Dont show this again work
parent
f2cd335d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
txRunner.js
src/app/execution/txRunner.js
+4
-4
No files found.
src/app/execution/txRunner.js
View file @
f199215c
...
@@ -63,7 +63,7 @@ TxRunner.prototype.execute = function (args, callback) {
...
@@ -63,7 +63,7 @@ TxRunner.prototype.execute = function (args, callback) {
if
(
args
.
useCall
)
{
if
(
args
.
useCall
)
{
tx
.
gas
=
gasLimit
tx
.
gas
=
gasLimit
if
(
true
)
{
if
(
!
self
.
config
.
get
(
'doNotShowAgain'
)
)
{
self
.
detectNetwork
((
err
,
network
)
=>
{
self
.
detectNetwork
((
err
,
network
)
=>
{
if
(
err
)
{
if
(
err
)
{
console
.
log
(
err
)
console
.
log
(
err
)
...
@@ -111,7 +111,7 @@ TxRunner.prototype.execute = function (args, callback) {
...
@@ -111,7 +111,7 @@ TxRunner.prototype.execute = function (args, callback) {
tx
.
gas
=
gasEstimation
tx
.
gas
=
gasEstimation
if
(
true
)
{
if
(
!
self
.
config
.
get
(
'doNotShowAgain'
)
)
{
self
.
detectNetwork
((
err
,
network
)
=>
{
self
.
detectNetwork
((
err
,
network
)
=>
{
if
(
err
)
{
if
(
err
)
{
...
@@ -245,14 +245,14 @@ function remixdDialog (tx, self) {
...
@@ -245,14 +245,14 @@ function remixdDialog (tx, self) {
</div>
</div>
<div class=
${
css
.
checkbox
}
>
<div class=
${
css
.
checkbox
}
>
<div><input type="checkbox" onchange=
${()
=>
updateConfig
(
self
)}
></div>
<div><input type="checkbox" onchange=
${()
=>
updateConfig
(
self
)}
></div>
<span class="
${
css
.
checkboxText
}
">
Never ask me to confirm again (this will be not be persisted)
</span>
<span class="
${
css
.
checkboxText
}
">
Don't ask me to confirm again
</span>
</div>
</div>
</div>
</div>
`
`
}
}
function
updateConfig
(
self
)
{
function
updateConfig
(
self
)
{
self
.
config
.
set
(
'doNotShowAgain'
,
!
self
.
get
(
'doNotShowAgain'
))
self
.
config
.
set
(
'doNotShowAgain'
,
!
self
.
config
.
get
(
'doNotShowAgain'
))
}
}
module
.
exports
=
TxRunner
module
.
exports
=
TxRunner
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