get rid of console.log debug statements
This commit is contained in:
parent
473b0e4213
commit
6f2e301528
|
|
@ -55,7 +55,6 @@ function getDownloadFilename(deveui, start, stop) {
|
|||
var mdstart = moment(start);
|
||||
var mdstop = moment(stop);
|
||||
filename = deveui + "_" + mdstart.format('DD.MM.YYYY') + "_bis_" + mdstop.format('DD.MM.YYYY') + ".csv";
|
||||
console.log(filename);
|
||||
return filename;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ $(document).ready(function () {
|
|||
if (username != "") {
|
||||
$("#email").val(username);
|
||||
}
|
||||
console.log(username);
|
||||
$("#quantity_exclamation").hide();
|
||||
$("#email_exclamation").hide();
|
||||
|
||||
|
|
@ -95,14 +94,10 @@ $(document).ready(function () {
|
|||
}
|
||||
),
|
||||
success: function(response) {
|
||||
console.log("SUCCESS");
|
||||
console.log(response);
|
||||
$("#modal").removeClass("is-active");
|
||||
$("#success_message").removeClass("is-hidden");
|
||||
},
|
||||
error: function(xhr) {
|
||||
console.log("ERROR");
|
||||
console.log(xhr);
|
||||
$("#modal").removeClass("is-active");
|
||||
$("#error_message").removeClass("is-hidden");
|
||||
}
|
||||
|
|
@ -116,7 +111,6 @@ $(document).ready(function () {
|
|||
});
|
||||
|
||||
function callback() {
|
||||
console.log("Callback Funktion wird aufgerufen");
|
||||
$('#quantity').focus().select();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,8 +21,6 @@ function HandleAbocostResponse(data) {
|
|||
counter = 0;
|
||||
total_amount = 0;
|
||||
charge_data = '';
|
||||
console.log("Response: ");
|
||||
console.log(data);
|
||||
abo_table = '<table class="table is-bordered is-fullwidth" >';
|
||||
abo_table += '<tr><th class="is-2">Alias</th><th>verlängern bis</th><th class="has-text-right">Betrag</th></tr>';
|
||||
jQuery.each(ordered, function (index, val) {
|
||||
|
|
@ -39,7 +37,6 @@ function HandleAbocostResponse(data) {
|
|||
abo_table += "</table>";
|
||||
if (counter > 0) {
|
||||
$("#abos_verlaengern").html(abo_table);
|
||||
console.log("charge_data: " + charge_data);
|
||||
$("#charge_data").html(charge_data);
|
||||
$("#cart").addClass("is-active");
|
||||
}
|
||||
|
|
@ -68,7 +65,6 @@ $(document).ready(function () {
|
|||
|
||||
$(".abo_plus").click(function () {
|
||||
var deveui = $(this).prev().attr('id').replace("abo_add_years_", "");
|
||||
console.log(deveui);
|
||||
el = $(this).parent().find(".abo_add_years");
|
||||
el_text = $(this).parent().parent().find(".abo_add_years_text");
|
||||
counter = Number(el.html());
|
||||
|
|
@ -86,7 +82,6 @@ $(document).ready(function () {
|
|||
el_text.html("+" + counter + " Jahre");
|
||||
}
|
||||
}
|
||||
console.log("abos_to_buy: %o", abos_to_buy);
|
||||
});
|
||||
|
||||
$(".abo_minus").click(function () {
|
||||
|
|
@ -111,8 +106,6 @@ $(document).ready(function () {
|
|||
el_text.html("+" + counter + " Jahre");
|
||||
}
|
||||
}
|
||||
console.log("deveui: %s", deveui);
|
||||
console.log("abos_to_buy: %o", abos_to_buy);
|
||||
});
|
||||
|
||||
function add_years(dt, n) {
|
||||
|
|
@ -120,7 +113,6 @@ $(document).ready(function () {
|
|||
}
|
||||
|
||||
$(".abo_pay").click(function () {
|
||||
console.log(Object.keys(abos_to_buy).length);
|
||||
if (Object.keys(abos_to_buy).length < 1) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -131,9 +123,6 @@ $(document).ready(function () {
|
|||
dataType: "json",
|
||||
data: JSON.stringify(abos_to_buy),
|
||||
success: function(response) {
|
||||
console.log("SUCCESS");
|
||||
console.log(response.stripe_pk);
|
||||
console.log(response.data);
|
||||
if (stripe_pk == "") {
|
||||
stripe_pk = response['stripe_pk'];
|
||||
loadStripeLibrary();
|
||||
|
|
@ -141,8 +130,6 @@ $(document).ready(function () {
|
|||
HandleAbocostResponse(response['data']);
|
||||
},
|
||||
error: function(xhr) {
|
||||
console.log("ERROR");
|
||||
console.log(xhr);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue