Skip to content

Commit

Permalink
adjust JS logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Commifreak committed Feb 27, 2024
1 parent ab6b944 commit 6e195e2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/pages/content/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -907,15 +907,15 @@ class="fa fa-paypal"></i> PayPal</a>.
let mainValue = $('#containerOrderSortable').sortable('serialize', {
expression: /(.+?)_(.+)/
});
console.log('Main value: ', mainValue);
console.debug('Main value: ', mainValue);
$('#containerOrder').val(mainValue);

$("input[id^='containerGroupOrder']").each(function (index) {
console.log("Processing groupOrder " + $(this).attr('id'));
console.debug("Processing groupOrder " + $(this).attr('id'));
let groupValue = $('#' + $(this).attr('id') + '_Sortable').sortable('serialize', {
expression: /(.+?)=(.+)/
});
console.log(groupValue);
console.debug('Group value', groupValue);
$(this).val(groupValue);
});
});
Expand Down Expand Up @@ -952,7 +952,7 @@ function addVolumeToExclude(element) {
$excludeTextarea = $('#' + $(element).data('container') + '_exclude');

if ($excludeTextarea.val().split(/\r?\n|\r|\n/g).includes($path)) { // If existing inside textarea
console.debug("Not adding this volume to exclusion: already listed!")
console.log("Not adding this volume to exclusion: already listed!")
return;
}

Expand Down Expand Up @@ -997,7 +997,7 @@ function checkFlashBackupCopy() {
}

function checkMultiCoreCpuCount() {
console.log($('#compression').val());
console.debug('compression setting: ', $('#compression').val());
if ($('#compression').val() === 'yesMulticore') {
$('#compressionCpuLimit_dl').fadeIn();
} else {
Expand All @@ -1017,7 +1017,7 @@ function checkVolumesForDuplicates() {
if (volumeMatrix.includes(mapping)) {
affectedMappings.push(mapping);
} else {
volumeMatrix.push($(this).text());
volumeMatrix.push(mapping);
}
});

Expand Down

0 comments on commit 6e195e2

Please sign in to comment.