From ade0f566759d4ea37baffc8c2d4b2aa3d7321b52 Mon Sep 17 00:00:00 2001 From: Falkvinge Date: Fri, 5 May 2017 20:09:07 +0200 Subject: [PATCH] Removed unused and failing code - need to rewrite with different pattern if re-enabled --- Site/Pages/v5/Financial/FileExpenseClaim.aspx | 23 ------------------- .../FileExpenseClaim.aspx.designer.cs | 18 --------------- 2 files changed, 41 deletions(-) diff --git a/Site/Pages/v5/Financial/FileExpenseClaim.aspx b/Site/Pages/v5/Financial/FileExpenseClaim.aspx index bb029535..d820e9ee 100644 --- a/Site/Pages/v5/Financial/FileExpenseClaim.aspx +++ b/Site/Pages/v5/Financial/FileExpenseClaim.aspx @@ -12,25 +12,10 @@ if (vatEnable) { $('.enableVatField').show(); } - - - $('#DropTags<%# Eval("TagSetId") %>').combotree({ - animate: true, - height: 30 - }); - - - $('#SpanDropTags<%# Eval("TagSetId") %> span.combo input.combo-text').click(function () { - $('#SpanDropTags<%# Eval("TagSetId") %> span.combo span span.combo-arrow').click(); - }); - - }); - - function validateFields() { var isValid = true; @@ -44,14 +29,6 @@ alertify.error(SwarmopsJS.unescape('<%= this.Localized_ValidationError_Budget %>')); } - - if ($('#DropTags<%# Eval("TagSetId") %>').combotree('tree').tree('getSelected') == null) { - isValid = false; - $('#SpanDropTags<%# Eval("TagSetId") %>').addClass("entryError"); - alertify.error(SwarmopsJS.unescape('<%=this.Localized_ValidationError_MissingTag %>')); - } - - isValid = validateTextField('#<%=this.TextPurpose.ClientID %>', SwarmopsJS.unescape('<%= this.Localized_ValidationError_Purpose %>')) && isValid; var jsonData = {}; diff --git a/Site/Pages/v5/Financial/FileExpenseClaim.aspx.designer.cs b/Site/Pages/v5/Financial/FileExpenseClaim.aspx.designer.cs index 6dfc1187..105e9fbe 100644 --- a/Site/Pages/v5/Financial/FileExpenseClaim.aspx.designer.cs +++ b/Site/Pages/v5/Financial/FileExpenseClaim.aspx.designer.cs @@ -12,24 +12,6 @@ namespace Swarmops.Frontend.Pages.v5.Financial { public partial class FileExpenseClaim { - /// - /// RepeaterTagDropScript control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Repeater RepeaterTagDropScript; - - /// - /// RepeaterErrorCheckTags control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Repeater RepeaterErrorCheckTags; - /// /// BoxTitle control. ///