1
0
mirror of https://github.com/ascribe/onion.git synced 2025-01-03 10:25:08 +01:00

form loan edit

This commit is contained in:
diminator 2015-09-10 17:46:50 +02:00
parent 6013303bd6
commit 01ebee87ec

View File

@ -71,9 +71,9 @@ let LoanForm = React.createClass({
handleOnChange(event) {
// event.target.value is the submitted email of the loanee
if(event && event.target && event.target.value && event.target.value.match(/.*@.*/)) {
LoanContractActions.fetchLoanContract(event.target.value);
ContractActions.fetchContract(event.target.value);
} else {
LoanContractActions.flushLoanContract();
ContractActions.flushContract();
}
},