Changed loc convention (this removes a JS warning)

This commit is contained in:
Rick Falkvinge
2016-10-01 17:52:30 +02:00
parent 8c65fb2c10
commit c767a353f5
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -55,5 +55,11 @@ namespace Swarmops.Frontend
return CommonV5.JavascriptEscape (input);
}
public string Localized_AjaxCallException
{
get { return JavascriptEscape (Resources.Global.Error_AjaxCallException); }
}
}
}
+1 -1
View File
@@ -65,7 +65,7 @@
%>
}, this),
$.proxy(function(msg) {
alertify.error("<%= Resources.Global.Error_AjaxCallException %>");
alertify.error(SwarmopsJS.unescape('<%= this.Localized_AjaxCallException %>'));
$(this).val(_initVal_<%=this.TextInput.ClientID%>);
$(this).css('background-color', '#FFA0A0');
$(this).animate({ backgroundColor: "#FFFFFF" }, 250);