MailNews: Re-check availability of OAuth2 when hostname fields modified.

This is for those cases where the hostnme of the email address is not
the actual hostname of the e-mail service (e.g. GMail with a custom
domain).

This should resolve issue athenian200/epyrus#53.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
This commit is contained in:
Mavridis Philippe 2022-11-26 11:17:02 +02:00 • committed by roytam1
commit e8f840bf2f
2 changed files with 48 additions and 28 deletions

View file

@ -276,6 +276,7 @@
</menulist>
<textbox id="incoming_hostname"
oninput="gEmailConfigWizard.onInputHostname();"
onblur="gEmailConfigWizard.checkIncomingSupportsOAuth2();"
class="host uri-element"/>
<menulist id="incoming_port"
editable="true"
@ -325,6 +326,7 @@
editable="true"
sizetopopup="none"
oninput="gEmailConfigWizard.onInputHostname();"
onblur="gEmailConfigWizard.checkOutgoingSupportsOAuth2();"
oncommand="gEmailConfigWizard.onChangedOutgoingDropdown();"
onpopupshowing="gEmailConfigWizard.onOpenOutgoingDropdown();"
class="host uri-element">