[RMV] GENERAL: Remove unwanted console log messages

This commit is contained in:
Horilla
2025-10-29 17:31:51 +05:30
parent dcbcb80791
commit 271ada3171
21 changed files with 2 additions and 31 deletions

View File

@@ -85,12 +85,9 @@
$(this).closest('form').find('input[type=submit]').click();
value = $(this).is(':checked');
container = $('#{{accessibility}}formcontainer')
console.log(typeof value)
if (value=='true') {
container.hide();
}else{
console.log('false');
$(container).show();
}
">
@@ -120,7 +117,6 @@
$.ajax({
url: "{% url 'get-initial-accessibility-data' %}?feature={{accessibility}}",
success: function (response) {
console.log(response)
for (let key in response) {
if (response.hasOwnProperty(key)) {
let values = response[key];

View File

@@ -134,7 +134,6 @@
// Batch title change
function batchTitleChange(element) {
console.log(element)
title = $(element).val()
batchId = $(element).data('id')
$('#updateTitleSpan').attr("hx-vals", `{"batch_id":"${batchId}","title":"${title}"}`)

View File

@@ -96,7 +96,6 @@
// Batch title change
function batchTitleChange(element){
console.log(element)
title = $(element).val()
batchId = $(element).data('id')
$('#updateTitleSpan').attr("hx-vals",`{"batch_id":"${batchId}","title":"${title}"}`)

View File

@@ -164,7 +164,6 @@
// Batch title change
function batchTitleChange(element){
console.log(element)
title = $(element).val()
batchId = $(element).data('id')
$('#updateTitleSpan').attr("hx-vals",`{"batch_id":"${batchId}","title":"${title}"}`)

View File

@@ -152,8 +152,6 @@ function shiftRequestDelete() {
// addIdsTab("allocatedselectedInstances");
ids.push($("#selectedInstances").attr("data-ids"));
ids = JSON.parse($("#selectedInstances").attr("data-ids"));
console.log(ids)
console.log('__________________________________________________________________________')
if (ids.length === 0) {
Swal.fire({
text: i18nMessages.noRowsSelected,

View File

@@ -101,7 +101,6 @@ function handleRejectRequestsClick() {
cancelButtonText: i18nMessages.cancel,
}).then(function (result) {
if (result.isConfirmed) {
console.log("hello")
ids = [];
ids.push($("#selectedInstances").attr("data-ids"));
ids = JSON.parse($("#selectedInstances").attr("data-ids"));

View File

@@ -41,8 +41,6 @@
var logBody = "{{ log.body|escapejs }}";
var trimmedBody = logBody.trim();
var hasContent = trimmedBody.length > 0;
console.log(hasContent)
if (hasContent) {
content = '<div class="oh-modal__dialog-body">' + logBody + '</div>';

View File

@@ -44,7 +44,6 @@
$('.oh-modal__close--custom').on('click', function() {
console.log('Close button clicked');
//location.reload();
// Function to reload the record

View File

@@ -110,9 +110,7 @@ function bulkApproveLeaveRequests() {
cancelButtonText: i18nMessages.cancel,
}).then(function (result) {
if (result.isConfirmed) {
console.log("worked")
var hxVals = JSON.stringify(ids);
console.log(hxVals)
$("#bulkApproveSpan").attr("hx-vals", `{"ids":${hxVals}}`);
$("#bulkApproveSpan").click();
}

View File

@@ -323,7 +323,6 @@
window.location.href = event.target.href;
}
else{
console.log(target)
console.log(event.target.href)
}
} else {

View File

@@ -40,9 +40,8 @@
</div>
{% if request.GET.deleted %}
<script>
console.log($(".reload-record"))
<script>
$(".reload-record").click()
$("#reloadMessagesButton").click()
</script>
</script>
{% endif %}

View File

@@ -260,7 +260,6 @@
window.location.href = event.target.href;
}
else{
console.log(target)
console.log(event.target.href)
}
} else {

View File

@@ -370,7 +370,6 @@
window.location.href = event.target.href;
}
else {
console.log(target)
console.log(event.target.href)
}
} else {

View File

@@ -150,7 +150,6 @@
function dateJoining($element){
var candId = $element.attr("data-candidate-id");
console.log(candId);
var dateVal = $element.val();
$.ajax({
type: "POST",

View File

@@ -106,7 +106,6 @@ function updateSingleStatus(selectElement,event) {
var taskId = $(selectElement).data("task-id");
var candId = $(selectElement).data('candidate-id');
var status = $(selectElement).val();
console.log(status)
$.ajax({
type: "POST",
url: "{% url 'candidate-task-update' 0 %}".replace('0', taskId),

View File

@@ -143,7 +143,6 @@ $(document).on('click', '#deleteFeedback', function (e) {
e.preventDefault();
var ids = JSON.parse($("#selectedInstances").attr("data-ids")) || [];
console.log(ids)
var announy_ids = JSON.parse($("#anounyselectedInstances").attr("data-ids")) || [];
if (ids.length === 0 && announy_ids.length === 0) {

View File

@@ -144,7 +144,6 @@ if (keyResultStatusChartCtx != null) {
}
function keyResultStatusDataUpdate(data) {
console.log('keyresult',data)
keyResultStatusData.labels = data.key_result_label;
keyResultStatusData.datasets[0].data = data.key_result_value;
keyResultStatusData.message = data.message;

View File

@@ -14,7 +14,6 @@
keyResultRow = $(element).closest('tr');
empKeyResultId = keyResultRow.attr("data-kr-id")
var targetValue = keyResultRow.find('[data-value]').attr("data-value")
console.log(targetValue)
// Extract only the numeric part using a regular expression
var numericValue = parseFloat(targetValue.replace(/[^\d.]/g, ''));

View File

@@ -174,8 +174,6 @@
}
})
console.log($("#commentEditor .note-btn-group.send-group").parent())
// ✅ Align last group to right
$(document).ready(function () {
$('.note-toolbar .note-btn-group').last().addClass('send-group')

View File

@@ -112,7 +112,6 @@
newURL = currentURL + separator + "view="+view;
}
history.pushState({}, "", newURL);
console.log(view)
$("#taskAllFilterForm").attr("hx-vals", `{"view":"${view}"}`);
$('#filter-task-all').attr("hx-vals", `{"view":"${view}"}`);
}

View File

@@ -292,8 +292,6 @@
$.getJSON(`pms-pivot?model=${selectedModel}&${formData}`, function (data) {
console.log("Filtered data:", data);
const plotlyRenderers = $.pivotUtilities.plotly_renderers;
$("#" + containerId).pivotUI(data, {