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
function clickButton () {
self.udapp.call(true, args, inputField.value, (decoded) => {
self.udapp.call(true, args, inputField.value, lookupOnly, (decoded) => {
outputOverride.innerHTML = ''
outputOverride.appendChild(decoded)
})

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

Loading…
Cancel
Save