Trying to fix weird language mixing compilation error

This commit is contained in:
Rick Falkvinge
2018-03-03 21:37:42 +01:00
parent a853f6b9ef
commit d5308947aa
+4 -2
View File
@@ -15,7 +15,7 @@
<%
if (!SuppressPrompt)
{
Response.Write ("$('#" + this.ClientID + "_SpanBudgets span.combo input.textbox-text').val('" + SwarmopsJS.unescape('<%=this.Localized_DropInit%>') + "');");
Response.Write ("$('#" + this.ClientID + "_SpanBudgets span.combo input.textbox-text').val(comboBudgetsDropInit);");
}
if (!String.IsNullOrEmpty(this.OnClientLoaded))
{
@@ -53,6 +53,8 @@
});
});
var comboBudgetsDropInit = SwarmopsJS.unescape('<%=this.Localized_DropInit%>');
function <%=this.ClientID %>_val(newValue) {
if (newValue === undefined) {
// getter
@@ -65,7 +67,7 @@
} else {
$('#<%=this.ClientID %>_DropBudgets').combotree('setValue', {
id: 0,
text: SwarmopsJS.unescape('<%=this.Localized_DropInit%>')
text: comboBudgetsDropInit
});
}