extra confirmation dialog out of udapp-ui

pull/5370/head
Iuri Matias 5 years ago committed by yann300
parent fc3fd0e6a3
commit dbd9174669
  1. 2
      src/app/udapp/run-tab.js
  2. 3
      src/app/ui/universal-dapp-ui.js

@ -49,7 +49,7 @@ export class RunTab extends LibraryPlugin {
} }
onActivationInternal () { onActivationInternal () {
this.udappUI = new UniversalDAppUI(this.udapp, this.logCallback, this.executionContext) this.udappUI = new UniversalDAppUI(this.blockchain, this.udapp, this.logCallback, this.executionContext)
this.udapp.resetAPI({ this.udapp.resetAPI({
getAddress: (cb) => { getAddress: (cb) => {
cb(null, $('#txorigin').val()) cb(null, $('#txorigin').val())

@ -15,7 +15,8 @@ var txFormat = remixLib.execution.txFormat
var TreeView = require('./TreeView') var TreeView = require('./TreeView')
var txCallBacks = require('./sendTxCallbacks') var txCallBacks = require('./sendTxCallbacks')
function UniversalDAppUI (udapp, logCallback, executionContext) { function UniversalDAppUI (blockchain, udapp, logCallback, executionContext) {
this.blockchain = blockchain
this.udapp = udapp this.udapp = udapp
this.logCallback = logCallback this.logCallback = logCallback
this.compilerData = {contractsDetails: {}} this.compilerData = {contractsDetails: {}}

Loading…
Cancel
Save