Changed loc convention (this removes a JS warning)
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
var rowCount = $(this).datagrid('getRows').length;
|
||||
$("#spanHitCount").text(rowCount);
|
||||
if (rowCount == 1000) {
|
||||
alertify.log(SwarmopsJS.unescape('<asp:Literal ID="LiteralNoticeTooManyHits" runat="server"/>'));
|
||||
alertify.log(SwarmopsJS.unescape('<%= this.Localized_NoticeTooManyHits %>'));
|
||||
}
|
||||
|
||||
// Leaving some remnant code from PayOutMoney in here for now, as similar code will be needed
|
||||
|
||||
@@ -41,8 +41,6 @@ namespace Swarmops.Frontend.Pages.Swarm
|
||||
this.LabelGridHeaderName.Text = Global.Global_Name;
|
||||
this.LabelGridHeaderPhone.Text = Global.Global_Phone;
|
||||
this.LabelGridHeaderNotes.Text = Global.Global_Notes;
|
||||
|
||||
this.LiteralNoticeTooManyHits.Text = JavascriptEscape(Resources.Pages.Swarm.ListFindPeople_TooManyHits);
|
||||
}
|
||||
|
||||
[WebMethod]
|
||||
@@ -116,5 +114,12 @@ namespace Swarmops.Frontend.Pages.Swarm
|
||||
public string DisplayMessage;
|
||||
public bool Success;
|
||||
}
|
||||
|
||||
|
||||
// ReSharper disable once InconsistentNaming
|
||||
public string Localized_NoticeTooManyHits
|
||||
{
|
||||
get { return JavascriptEscape(Resources.Pages.Swarm.ListFindPeople_TooManyHits); }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -12,15 +12,6 @@ namespace Swarmops.Frontend.Pages.Swarm {
|
||||
|
||||
public partial class ListFindPeople {
|
||||
|
||||
/// <summary>
|
||||
/// LiteralNoticeTooManyHits 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.Literal LiteralNoticeTooManyHits;
|
||||
|
||||
/// <summary>
|
||||
/// ComboGeographies control.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user