Debugging on Sandbox

This commit is contained in:
Rick Falkvinge
2017-01-02 20:41:13 +01:00
parent 13cd2885e2
commit 3c2f5cee09
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
<%@ Control Language="C#" AutoEventWireup="true" Inherits="Swarmops.Frontend.Controls.Swarm.TreePositions" CodeFile="TreePositions.ascx.cs" %>
<%@ Register TagPrefix="Swarmops5Workaround" TagName="ComboPeople" src="~/Controls/v5/Swarm/ComboPeople.ascx" %>
<%@ Register TagPrefix="Swarmops5Workaround" TagName="DropDown" src="~/Controls/v5/Base/DropDown.ascx" %>
<%@ Register TagPrefix="Swarmops5" TagName="ModalDialog" src="~/Controls/v5/Base/ModalDialog.ascx" %>
<script language="javascript" type="text/javascript">
@@ -196,7 +195,7 @@
<h2><asp:Label runat="server" ID="LabelModalHeader"/></h2>
<div class="entryFields">
<Swarmops5Workaround:ComboPeople ID="DropPerson" runat="server" />
<Swarmops5Workaround:DropDown ID="DropDuration" runat="server" />
<Swarmops5:DropDown ID="DropDuration" runat="server" />
<input type="button" id="<%=this.ClientID %>_buttonAssign" class="buttonAccentColor" value="#Assign#" />
</div>
<div class="entryLabels">
+1 -1
View File
@@ -17,7 +17,7 @@ namespace Swarmops.Frontend.Controls.Swarm
((PageV5Base) this.Page).RegisterControl (EasyUIControl.Tree | EasyUIControl.DataGrid);
}
protected void Page_Load (object sender, EventArgs e)
protected void Page_PreRender (object sender, EventArgs e) // PreRender to make sure teh DropDuration control exists
{
this.DropPerson.Placeholder = Resources.Global.Swarm_TypeName;
Localize();