mirror of
https://github.com/seigler/govobject-proposal
synced 2025-07-28 07:16:10 +00:00
enables new and edit buttons, hides steps in progress if new proposal clicked
This commit is contained in:
parent
10ef099643
commit
8b7fca6136
2 changed files with 14 additions and 2 deletions
|
@ -115,5 +115,15 @@ ProposalGenerator.prototype.resetProposal = function() {
|
|||
$('.createProposal input').each(function() {
|
||||
$(this).val('');
|
||||
});
|
||||
setFormEditable(true);
|
||||
$("#btnEdit").val('Edit Proposal');
|
||||
$("#btnNew").val('New Proposal');
|
||||
$("#btnPrepare").val('Create Proposal');
|
||||
setFormEditable(false);
|
||||
$('.walletCommands#walletCommandsHeader').addClass('hidden');
|
||||
$('.walletCommands#walletCommandsPrepare').addClass('hidden');
|
||||
$('.walletCommands#walletCommandsTx').addClass('hidden');
|
||||
$('.walletCommands#walletCommandsProgress').addClass('hidden');
|
||||
$('.walletCommands#walletCommandsSubmit').addClass('hidden');
|
||||
|
||||
this._mode = 'proposal';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue