From ee29a6439b571cc87a7a2220e756fac3554c1345 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Tue, 6 Feb 2018 12:41:34 -0500 Subject: [PATCH] add missing parameter to button call --- src/universal-dapp-ui.js | 2 +- src/universal-dapp.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/universal-dapp-ui.js b/src/universal-dapp-ui.js index 6d71d05392..f9f50a062b 100644 --- a/src/universal-dapp-ui.js +++ b/src/universal-dapp-ui.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) }) diff --git a/src/universal-dapp.js b/src/universal-dapp.js index ad9262bf4a..78d2706240 100644 --- a/src/universal-dapp.js +++ b/src/universal-dapp.js @@ -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) {