diff --git a/meetupdao/UI/web3/proposals.html b/meetupdao/UI/web3/proposals.html index 33c801f..6033476 100644 --- a/meetupdao/UI/web3/proposals.html +++ b/meetupdao/UI/web3/proposals.html @@ -24,6 +24,8 @@

New Proposal


Ether amount(optional)

+ Proposal Time(optional)
+
Job Description

Transaction bytecode(optional)
@@ -48,4 +50,4 @@

New Proposal

- \ No newline at end of file + diff --git a/meetupdao/UI/web3/proposals.js b/meetupdao/UI/web3/proposals.js index d909d30..83e579c 100644 --- a/meetupdao/UI/web3/proposals.js +++ b/meetupdao/UI/web3/proposals.js @@ -15,11 +15,12 @@ var beneficiary=document.getElementById("beneficiary").value; var etherAmount=document.getElementById("etherAmount").value; + var proposalTime=document.getElementById("proposalTime").value; var jobDescription=document.getElementById("jobDescription").value; var transactionBytecode=document.getElementById("transactionBytecode").value; var myTokenContract = web3.eth.contract(abi).at(address); - return myTokenContract.newProposalInEther(beneficiary, etherAmount, jobDescription, fileHash, transactionBytecode, function (error, result) {}) + return myTokenContract.newProposalInEther(beneficiary, etherAmount, proposalTime, jobDescription, fileHash, transactionBytecode, function (error, result) {}) } @@ -144,4 +145,4 @@ function getProposals(){ } -getProposals(); \ No newline at end of file +getProposals();