Quick fix (this still needs refactoring)
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
isValid = validateTextField('#<%=this.TextPurpose.ClientID %>', SwarmopsJS.unescape('<%= this.Localized_ValidationError_Purpose %>')) && isValid;
|
||||
|
||||
var jsonData = {};
|
||||
jsonData.amount = $('#<%=this.CurrencyAmount.ClientID %>_Input').val();
|
||||
jsonData.amount = <%=this.CurrencyAmount.ClientID %>_val();
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
isValid = validateTextField('#<%=this.TextPurpose.ClientID %>', SwarmopsJS.unescape('<%= this.Localized_ValidationError_Purpose %>')) && isValid;
|
||||
|
||||
var jsonData = {};
|
||||
jsonData.amount = $('#<%=this.CurrencyAmount.ClientID %>_Input').val();
|
||||
jsonData.amount = <%=this.CurrencyAmount.ClientID %>_val();
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
isValid = validateTextField('#<%=this.TextPurpose.ClientID %>', SwarmopsJS.unescape('<%= this.Localized_ValidationError_Purpose %>')) && isValid;
|
||||
|
||||
var jsonData = {};
|
||||
jsonData.amount = $('#<%=this.TextAmount.ClientID %>_Input').val();
|
||||
jsonData.amount = <%=this.TextAmount.ClientID %>_val();
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
|
||||
Reference in New Issue
Block a user