Merge pull request #8 from chriseth/noCreateIfNoBytecode

Do not display create button if there is no bytecode.
pull/1/head
chriseth 9 years ago
commit 4c3ca495a4
  1. 13
      index.html

@ -661,12 +661,13 @@ input[readonly] {
title.click(function(ev){ $(this).parent().toggleClass('hide') }); title.click(function(ev){ $(this).parent().toggleClass('hide') });
}; };
execInter if (contract.bytecode.length > 0)
.append(getCallButton({ execInter
abi: funABI, .append(getCallButton({
bytecode: contract.bytecode, abi: funABI,
appendFunctions: appendFunctions bytecode: contract.bytecode,
})); appendFunctions: appendFunctions
}));
return execInter; return execInter;
}; };

Loading…
Cancel
Save