From 6bb384e26927e1f337b65ff6a976ce434d724d1b Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Mon, 2 Jan 2017 20:25:35 +0100 Subject: [PATCH] Debugging on Sandbox --- Site/Controls/v5/Swarm/TreePositions.ascx.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Site/Controls/v5/Swarm/TreePositions.ascx.cs b/Site/Controls/v5/Swarm/TreePositions.ascx.cs index d2e80278..19dba979 100644 --- a/Site/Controls/v5/Swarm/TreePositions.ascx.cs +++ b/Site/Controls/v5/Swarm/TreePositions.ascx.cs @@ -37,6 +37,7 @@ namespace Swarmops.Frontend.Controls.Swarm this.LiteralButtonAssign.Text = Resources.Controls.Swarm.Positions_ButtonAssign; this.DropDuration.Items.Add (new ListItem(Resources.Global.Timespan_Selection_OneMonth, "1")); + throw new NotImplementedException(); // Debugging to find the Null Reference this.DropDuration.Items.Add(new ListItem(Resources.Global.Timespan_Selection_TwoMonths, "2")); this.DropDuration.Items.Add(new ListItem(Resources.Global.Timespan_Selection_ThreeMonths, "3")); this.DropDuration.Items.Add(new ListItem(Resources.Global.Timespan_Selection_SixMonths, "6")); @@ -44,8 +45,6 @@ namespace Swarmops.Frontend.Controls.Swarm this.DropDuration.Items.Add(new ListItem(Resources.Global.Timespan_Selection_TwoYears, "24")); this.DropDuration.Items.Add(new ListItem(Resources.Global.Timespan_Selection_UntilTermination, "-1")); - throw new NotImplementedException(); // Debugging to find the Null Reference - this.LiteralTerminateNo.Text = JavascriptEscape (Resources.Controls.Swarm.Positions_TerminateNo); this.LiteralTerminateYes.Text = JavascriptEscape (Resources.Controls.Swarm.Positions_TerminateYes); this.LiteralTerminateSelfNo.Text = JavascriptEscape (Resources.Controls.Swarm.Positions_TerminateSelfNo);