Commit 574c29a0 authored by chriseth's avatar chriseth

Do not display create button if there is no bytecode.

parent 67c7f77b
...@@ -661,12 +661,13 @@ input[readonly] { ...@@ -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;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment