Removed unused and failing code - need to rewrite with different pattern if re-enabled

This commit is contained in:
Falkvinge
2017-05-05 20:09:07 +02:00
parent dd97e7ac51
commit ade0f56675
2 changed files with 0 additions and 41 deletions
@@ -12,25 +12,10 @@
if (vatEnable) {
$('.enableVatField').show();
}
<asp:Repeater ID="RepeaterTagDropScript" runat="server"><ItemTemplate>
$('#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();
});
</ItemTemplate></asp:Repeater>
});
function validateFields() {
var isValid = true;
@@ -44,14 +29,6 @@
alertify.error(SwarmopsJS.unescape('<%= this.Localized_ValidationError_Budget %>'));
}
<asp:Repeater ID="RepeaterErrorCheckTags" runat="server"><ItemTemplate>
if ($('#DropTags<%# Eval("TagSetId") %>').combotree('tree').tree('getSelected') == null) {
isValid = false;
$('#SpanDropTags<%# Eval("TagSetId") %>').addClass("entryError");
alertify.error(SwarmopsJS.unescape('<%=this.Localized_ValidationError_MissingTag %>'));
}
</ItemTemplate></asp:Repeater>
isValid = validateTextField('#<%=this.TextPurpose.ClientID %>', SwarmopsJS.unescape('<%= this.Localized_ValidationError_Purpose %>')) && isValid;
var jsonData = {};
@@ -12,24 +12,6 @@ namespace Swarmops.Frontend.Pages.v5.Financial {
public partial class FileExpenseClaim {
/// <summary>
/// RepeaterTagDropScript control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Repeater RepeaterTagDropScript;
/// <summary>
/// RepeaterErrorCheckTags control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Repeater RepeaterErrorCheckTags;
/// <summary>
/// BoxTitle control.
/// </summary>