As predicted, second dumbfix

This commit is contained in:
Falkvinge
2016-11-22 14:48:13 +01:00
parent ad1bc28508
commit f5bd22a0cf
3 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -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
+4
View File
@@ -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);
}
+1
View File
@@ -427,6 +427,7 @@
<%=this.MasterEditPersonNewPassword1.ClientID%>_updateFailAnimate();
<%=this.MasterEditPersonNewPassword2.ClientID%>_updateFailAnimate();
<%=this.MasterEditPersonNewPassword1.ClientID%>_focus();
}
});
}