|
|
@ -45,7 +45,7 @@ const promptCb = (okCb, cancelCb) => { |
|
|
|
modalCustom.promptPassphrase('Passphrase requested', 'Personal mode is enabled. Please provide passphrase of account', '', okCb, cancelCb) |
|
|
|
modalCustom.promptPassphrase('Passphrase requested', 'Personal mode is enabled. Please provide passphrase of account', '', okCb, cancelCb) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const confirmationCb = (network, tx, gasEstimation, continueTxExecution, cancelCb) => { |
|
|
|
const confirmationCb = function (network, tx, gasEstimation, continueTxExecution, cancelCb) { |
|
|
|
let self = this |
|
|
|
let self = this |
|
|
|
if (network.name !== 'Main') { |
|
|
|
if (network.name !== 'Main') { |
|
|
|
return continueTxExecution(null) |
|
|
|
return continueTxExecution(null) |
|
|
@ -86,7 +86,7 @@ const confirmationCb = (network, tx, gasEstimation, continueTxExecution, cancelC |
|
|
|
content, |
|
|
|
content, |
|
|
|
{ label: 'Confirm', |
|
|
|
{ label: 'Confirm', |
|
|
|
fn: () => { |
|
|
|
fn: () => { |
|
|
|
self.udapp.config.setUnpersistedProperty( |
|
|
|
self.udapp.udapp.config.setUnpersistedProperty( |
|
|
|
'doNotShowTransactionConfirmationAgain', |
|
|
|
'doNotShowTransactionConfirmationAgain', |
|
|
|
content.querySelector('input#confirmsetting').checked |
|
|
|
content.querySelector('input#confirmsetting').checked |
|
|
|
) |
|
|
|
) |
|
|
|