Do not display create button if there is no bytecode.

pull/1/head
chriseth 9 years ago
parent 67c7f77b2f
commit 574c29a031
  1. 13
      index.html

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

Loading…
Cancel
Save