diff --git a/Site5/Automation/SwarmFunctions.aspx.cs b/Site5/Automation/SwarmFunctions.aspx.cs index c083cb55..a777d222 100644 --- a/Site5/Automation/SwarmFunctions.aspx.cs +++ b/Site5/Automation/SwarmFunctions.aspx.cs @@ -258,12 +258,12 @@ namespace Swarmops.Frontend.Automation } [WebMethod] - public static AjaxInputCallResult SetPersonEditorData(string newValue, string cookie) + public static AjaxInputCallResult SetPersonEditorData(int personId, string field, string newValue) { return new AjaxInputCallResult { Success = true, - NewValue = "The change call was successful" + NewValue = field + ": The change call was successful" }; throw new NotImplementedException(); } diff --git a/Site5/Controls/v5/Base/AjaxTextBox.ascx b/Site5/Controls/v5/Base/AjaxTextBox.ascx index db6ee4ae..45c99ba5 100644 --- a/Site5/Controls/v5/Base/AjaxTextBox.ascx +++ b/Site5/Controls/v5/Base/AjaxTextBox.ascx @@ -1,5 +1,6 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeFile="AjaxTextBox.ascx.cs" Inherits="Swarmops.Frontend.Controls.v5.Base.AjaxTextBox" %> +<%-- ReSharper disable once ConditionIsAlwaysConst --%>