Reference problem

This commit is contained in:
Rick Falkvinge
2018-03-03 19:29:36 +01:00
parent 9b82ea50ec
commit b46fb1867f
2 changed files with 7 additions and 2 deletions
+2 -2
View File
@@ -15,7 +15,7 @@
<%
if (!SuppressPrompt)
{
Response.Write ("$('#" + this.ClientID + "_SpanBudgets span.combo input.textbox-text').val('" + SwarmopsJS.unescape('<%=CommonV5.JavascriptEscape(Resources.Global.Global_DropInits_SelectFinancialAccount)%>') + "');");
Response.Write ("$('#" + this.ClientID + "_SpanBudgets span.combo input.textbox-text').val('" + SwarmopsJS.unescape('<%=this.Localized_DropInit%>') + "');");
}
if (!String.IsNullOrEmpty(this.OnClientLoaded))
{
@@ -65,7 +65,7 @@
} else {
$('#<%=this.ClientID %>_DropBudgets').combotree('setValue', {
id: 0,
text: SwarmopsJS.unescape('<%=CommonV5.JavascriptEscape(Resources.Global.Global_DropInits_SelectFinancialAccount)%>')
text: SwarmopsJS.unescape('<%=this.Localized_DropInit%>')
});
}
@@ -56,5 +56,10 @@ namespace Swarmops.Controls.Financial
this.Layout = LayoutDirection.Vertical;
}
}
public string Localized_DropInit
{
get { return CommonV5.JavascriptEscape(Resources.Global.Global_DropInits_SelectFinancialAccount); }
}
}
}