From ef11b6b9af600275be136d7d8f9f2809e6a1f8d1 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Mon, 12 Sep 2016 12:57:33 +0200 Subject: [PATCH] Deploying more work to Sandbox for testing --- Site5/Automation/SwarmFunctions.aspx.cs | 4 +- Site5/Controls/v5/Base/AjaxTextBox.ascx | 98 +++++++++++++++---------- Site5/Master-v5.master | 45 ++++++++++-- 3 files changed, 101 insertions(+), 46 deletions(-) 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 --%>