mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
Small form fixes
This commit is contained in:
parent
db2b027656
commit
614bc3f74b
@ -156,7 +156,7 @@ let Form = React.createClass({
|
||||
|
||||
for(let ref in this.refs) {
|
||||
if(this.refs[ref] && typeof this.refs[ref].handleSuccess === 'function'){
|
||||
this.refs[ref].handleSuccess();
|
||||
this.refs[ref].handleSuccess(response);
|
||||
}
|
||||
}
|
||||
this.setState({
|
||||
|
@ -171,7 +171,7 @@ let LoanForm = React.createClass({
|
||||
editable={!gallery}
|
||||
overrideForm={!!gallery}>
|
||||
<input
|
||||
value={gallery}
|
||||
defaultValue={gallery}
|
||||
type="text"
|
||||
placeholder={getLangText('Gallery/exhibition (optional)')}/>
|
||||
</Property>
|
||||
|
Loading…
Reference in New Issue
Block a user