As predicted, second dumbfix
This commit is contained in:
@@ -428,7 +428,7 @@ namespace Swarmops.Frontend.Automation
|
||||
|
||||
AuthenticationData authData = GetAuthenticationDataAndCulture();
|
||||
|
||||
if (authData.CurrentUser.Identity != personId)
|
||||
if (authData.CurrentUser.Identity != personId && personId != 0)
|
||||
{
|
||||
// TODO: Same thing with this case
|
||||
|
||||
|
||||
@@ -157,6 +157,10 @@
|
||||
$('#<%=this.TextInput.ClientID%>').val('');
|
||||
}
|
||||
|
||||
function <%=this.ClientID%>_focus() {
|
||||
$('#<%=this.TextInput.ClientID%>').focus();
|
||||
}
|
||||
|
||||
function <%=this.ClientID%>_setValue(newValue) {
|
||||
$('#<%=this.TextInput.ClientID%>').val(newValue);
|
||||
}
|
||||
|
||||
@@ -427,6 +427,7 @@
|
||||
|
||||
<%=this.MasterEditPersonNewPassword1.ClientID%>_updateFailAnimate();
|
||||
<%=this.MasterEditPersonNewPassword2.ClientID%>_updateFailAnimate();
|
||||
<%=this.MasterEditPersonNewPassword1.ClientID%>_focus();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user