Removing debug code - everything worked when spelled correctly
This commit is contained in:
@@ -40,7 +40,6 @@
|
||||
SwarmopsJS.ajaxCall('/Automation/Formatting.aspx/InterpretDateString',
|
||||
jsonData,
|
||||
function (data) {
|
||||
console.log(data);
|
||||
if (data.Success) {
|
||||
$('#<%=this.ClientID%>_TextInput').val(data.PresentedDate);
|
||||
$('#<%=this.ClientID%>_InterpretedDate').val(data.InterpretedDate);
|
||||
@@ -49,10 +48,6 @@
|
||||
$('#<%=this.ClientID%>_InterpretedDate').val('');
|
||||
$('#<%=this.TextInput.ClientID%>').focus();
|
||||
}
|
||||
},
|
||||
function(data) {
|
||||
console.log('ERROR');
|
||||
console.log(data);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
@@ -441,11 +441,10 @@ var SwarmopsJS = (function () {
|
||||
contentType: "application/json; charset=utf-8",
|
||||
dataType: "json",
|
||||
success: function (msg) {
|
||||
console.log(msg);
|
||||
successFunction(msg.d);
|
||||
},
|
||||
error: function (data) {
|
||||
console.log(data);
|
||||
console.log("Error in Ajax call: " + data);
|
||||
if (errorFunction !== undefined) {
|
||||
errorFunction();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user