Removed unused and failing code - need to rewrite with different pattern if re-enabled
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user