diff --git a/Site/Controls/v5/Base/DateTextBox.ascx b/Site/Controls/v5/Base/DateTextBox.ascx index af08eb62..6daa93d7 100644 --- a/Site/Controls/v5/Base/DateTextBox.ascx +++ b/Site/Controls/v5/Base/DateTextBox.ascx @@ -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); }); }); diff --git a/Site/Scripts/Swarmops-v5.js b/Site/Scripts/Swarmops-v5.js index 4bee3d6a..18c0ca11 100644 --- a/Site/Scripts/Swarmops-v5.js +++ b/Site/Scripts/Swarmops-v5.js @@ -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 {