Merge pull request #4053 from matrix-org/t3chguy/server_enter
Allow custom hs url submission on enter
This commit is contained in:
commit
f381099f2a
1 changed files with 3 additions and 5 deletions
|
@ -274,15 +274,13 @@ export default class ServerConfig extends React.PureComponent {
|
||||||
: null;
|
: null;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="mx_ServerConfig">
|
<form className="mx_ServerConfig" onSubmit={this.onSubmit} autoComplete="off">
|
||||||
<h3>{_t("Other servers")}</h3>
|
<h3>{_t("Other servers")}</h3>
|
||||||
{errorText}
|
{errorText}
|
||||||
{this._renderHomeserverSection()}
|
{this._renderHomeserverSection()}
|
||||||
{this._renderIdentityServerSection()}
|
{this._renderIdentityServerSection()}
|
||||||
<form onSubmit={this.onSubmit} autoComplete="off" action={null}>
|
|
||||||
{submitButton}
|
{submitButton}
|
||||||
</form>
|
</form>
|
||||||
</div>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue