add missing parameter to button call

pull/3094/head
Iuri Matias 7 years ago
parent cb8e15b61a
commit ee29a6439b
  1. 2
      src/universal-dapp-ui.js
  2. 2
      src/universal-dapp.js

@ -248,7 +248,7 @@ UniversalDAppUI.prototype.getCallButton = function (args) {
button.innerHTML = title button.innerHTML = title
function clickButton () { function clickButton () {
self.udapp.call(true, args, inputField.value, (decoded) => { self.udapp.call(true, args, inputField.value, lookupOnly, (decoded) => {
outputOverride.innerHTML = '' outputOverride.innerHTML = ''
outputOverride.appendChild(decoded) outputOverride.appendChild(decoded)
}) })

@ -139,7 +139,7 @@ UniversalDAppModel.prototype.pendingTransactions = function () {
return this.txRunner.pendingTxs return this.txRunner.pendingTxs
} }
UniversalDAppModel.prototype.call = function (isUserAction, args, value, outputCb) { UniversalDAppModel.prototype.call = function (isUserAction, args, value, lookupOnly, outputCb) {
const self = this const self = this
var logMsg var logMsg
if (isUserAction) { if (isUserAction) {

Loading…
Cancel
Save