Revert Last Changeset
This commit is contained in:
parent
bc39c19576
commit
e8b620107a
2 changed files with 1 additions and 4 deletions
|
@ -1347,14 +1347,11 @@ namespace WebsitePanel.EnterpriseServer
|
|||
if (String.Compare(account.PrimaryEmailAddress, email.EmailAddress, true) == 0)
|
||||
{
|
||||
email.IsPrimary = true;
|
||||
email.ProtectDelete = true;
|
||||
}
|
||||
|
||||
if (String.Compare(account.UserPrincipalName, email.EmailAddress, true) == 0)
|
||||
{
|
||||
email.IsUserPrincipalName = true;
|
||||
email.ProtectDelete = true;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
<asp:CheckBox ID="chkSelectAll" runat="server" onclick="javascript:SelectAllCheckboxes(this);" />
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:CheckBox ID="chkSelect" runat="server" Enabled='<%# !(bool)Eval("ProtectDelete")%>' />
|
||||
<asp:CheckBox ID="chkSelect" runat="server" Enabled='<%# !(bool)Eval("IsPrimary")%>' />
|
||||
</ItemTemplate>
|
||||
<ItemStyle Width="10px" />
|
||||
</asp:TemplateField>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue