Skip to content

Commit

Permalink
Small variable fix
Browse files Browse the repository at this point in the history
  • Loading branch information
domschiener committed Jan 10, 2016
1 parent 821b2d8 commit e5ca7cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/client/libraries/cargo.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Template.cargo.events({
})
},
'click #cargo_shipped': function() {
$('#cargo_shipped').replaceWith('<div class="form-group"><h2>Anticipated Date of Arrival</h2><input id="dateofarrival" type="date" class="form-control inputArrival"><button id="submitDate" class="btn btn-lg btn-success shipment_button">Ask for Payment</button></div>');
$('#cargo_shipped').replaceWith('<div class="form-group"><h2>Anticipated Date of Arrival</h2><input id="dateofarrival" type="date" class="form-control inputArrival"><button id="submitDate" class="btn btn-lg btn-success shipment_button">Continue</button></div>');
},
'click #submitDate': function() {
$('#shipment').html('<div class="cargo_header shipment_header"><h2>Cargo arrived at Port</h2><img src="/cargo.jpg" /><button id="disputePayment" class="btn btn-lg btn-danger shipment_button">Dispute Payment</button></div>');
Expand Down

0 comments on commit e5ca7cf

Please sign in to comment.