From 1e49e788cdd9570c3e7b250d2558bbed56d831d4 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Tue, 18 Nov 2014 14:55:02 +0100 Subject: [PATCH] Added JsonParameters --- Site5/App_Code/CommonV5.cs | 6 +++--- Site5/Controls/v5/UI/IncludedScripts.ascx.cs | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Site5/App_Code/CommonV5.cs b/Site5/App_Code/CommonV5.cs index fbb39e23..e262223f 100644 --- a/Site5/App_Code/CommonV5.cs +++ b/Site5/App_Code/CommonV5.cs @@ -360,7 +360,7 @@ public enum EasyUIControl public enum IncludedControl { Unknown = 0, - FileUpload = 0x00000001, - SwitchButton = 0x00000002, - JsonEncoding = 0x00000004 + FileUpload = 0x00000001, + SwitchButton = 0x00000002, + JsonParameters = 0x00000004 }; \ No newline at end of file diff --git a/Site5/Controls/v5/UI/IncludedScripts.ascx.cs b/Site5/Controls/v5/UI/IncludedScripts.ascx.cs index 89bf30a1..0e3420b2 100644 --- a/Site5/Controls/v5/UI/IncludedScripts.ascx.cs +++ b/Site5/Controls/v5/UI/IncludedScripts.ascx.cs @@ -28,6 +28,10 @@ namespace Swarmops.Frontend.Controls.v5.UI "\r\n" + "\r\n"); break; + case "jsonparameters": + scriptRef.Append( + ""); + break; default: break; }