Merge
This commit is contained in:
commit
830a8acfb2
4 changed files with 15 additions and 3 deletions
|
@ -111,7 +111,7 @@
|
|||
<wsp:SendToControl id="sendToControl" runat="server" ValidationGroup="CreateMailbox" ControlToHide="PasswordBlock"></wsp:SendToControl>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="PasswordBlock" runat="server">
|
||||
<tr id="PasswordBlock" runat="server" Visible="false">
|
||||
<td class="FormLabel150" valign="top"><asp:Localize ID="locPassword" runat="server" meta:resourcekey="locPassword" Text="Password: *"></asp:Localize></td>
|
||||
<td>
|
||||
<wsp:PasswordControl id="password" runat="server" ValidationGroup="CreateMailbox" AllowGeneratePassword="false">
|
||||
|
|
|
@ -89,7 +89,7 @@
|
|||
<wsp:SendToControl id="sendToControl" runat="server" ValidationGroup="CreateMailbox" ControlToHide="PasswordBlock"></wsp:SendToControl>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="PasswordBlock" runat="server">
|
||||
<tr id="PasswordBlock" runat="server" Visible="false">
|
||||
<td class="FormLabel150" valign="top">
|
||||
<asp:Localize ID="locPassword" runat="server" meta:resourcekey="locPassword" Text="Password: *"></asp:Localize></td>
|
||||
<td>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<tr>
|
||||
<td class="FormLabel150"></td>
|
||||
<td>
|
||||
<asp:CheckBox ID="chkSendPasswordResetEmail" runat="server" meta:resourcekey="chkSendPasswordResetEmail" Text="Send Password Request" AutoPostBack="true" Checked="false" OnCheckedChanged="chkSendPasswordResetEmail_StateChanged" />
|
||||
<asp:CheckBox ID="chkSendPasswordResetEmail" runat="server" meta:resourcekey="chkSendPasswordResetEmail" Text="Send Password Request" AutoPostBack="true" Checked="True" OnCheckedChanged="chkSendPasswordResetEmail_StateChanged" />
|
||||
</td>
|
||||
</tr>
|
||||
<tbody id="SendToBody" runat="server" visible="False">
|
||||
|
|
|
@ -74,6 +74,18 @@ namespace WebsitePanel.Portal.UserControls
|
|||
var isTwilioEnabled = ES.Services.System.CheckIsTwilioEnabled();
|
||||
|
||||
rbtnMobile.Visible = isTwilioEnabled;
|
||||
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
if (isTwilioEnabled)
|
||||
{
|
||||
rbtnMobile.Checked = true;
|
||||
rbtnEmail.Checked = false;
|
||||
SendToGroupCheckedChanged(null, null);
|
||||
}
|
||||
|
||||
chkSendPasswordResetEmail_StateChanged(null, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue