|
|
|
@ -334,7 +334,8 @@ UniversalDApp.prototype.getCallButton = function (args) { |
|
|
|
|
|
|
|
|
|
if (lookupOnly) { |
|
|
|
|
$contractProperty.addClass('constant') |
|
|
|
|
button.attr('title', (title + " - call)")) |
|
|
|
|
button.attr('title', (title + ' - call')) |
|
|
|
|
call() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (args.funABI.inputs && args.funABI.inputs.length > 0) { |
|
|
|
@ -343,11 +344,11 @@ UniversalDApp.prototype.getCallButton = function (args) { |
|
|
|
|
|
|
|
|
|
if (args.funABI.payable === true) { |
|
|
|
|
$contractProperty.addClass('payable') |
|
|
|
|
button.attr('title', (title + " - transact (payable)")) |
|
|
|
|
button.attr('title', (title + ' - transact (payable)')) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (args.funABI.payable === false) { |
|
|
|
|
button.attr('title', (title + " - transact (not payable)")) |
|
|
|
|
if (!lookupOnly && args.funABI.payable === false) { |
|
|
|
|
button.attr('title', (title + ' - transact (not payable)')) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return $contractProperty |
|
|
|
|