Removing debug code - everything worked when spelled correctly

This commit is contained in:
Rick Falkvinge
2021-07-07 17:43:37 +02:00
parent 17a66025c9
commit 703a250bfc
2 changed files with 1 additions and 7 deletions
-5
View File
@@ -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);
});
});
+1 -2
View File
@@ -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 {