[RMV] GENERAL: Remove unwanted console log messages
This commit is contained in:
@@ -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];
|
||||
|
||||
@@ -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}"}`)
|
||||
|
||||
@@ -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}"}`)
|
||||
|
||||
@@ -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}"}`)
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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"));
|
||||
|
||||
@@ -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>';
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
|
||||
|
||||
$('.oh-modal__close--custom').on('click', function() {
|
||||
console.log('Close button clicked');
|
||||
//location.reload();
|
||||
|
||||
// Function to reload the record
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -323,7 +323,6 @@
|
||||
window.location.href = event.target.href;
|
||||
}
|
||||
else{
|
||||
console.log(target)
|
||||
console.log(event.target.href)
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -40,9 +40,8 @@
|
||||
|
||||
</div>
|
||||
{% if request.GET.deleted %}
|
||||
<script>
|
||||
console.log($(".reload-record"))
|
||||
<script>
|
||||
$(".reload-record").click()
|
||||
$("#reloadMessagesButton").click()
|
||||
</script>
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
@@ -260,7 +260,6 @@
|
||||
window.location.href = event.target.href;
|
||||
}
|
||||
else{
|
||||
console.log(target)
|
||||
console.log(event.target.href)
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -370,7 +370,6 @@
|
||||
window.location.href = event.target.href;
|
||||
}
|
||||
else {
|
||||
console.log(target)
|
||||
console.log(event.target.href)
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -150,7 +150,6 @@
|
||||
|
||||
function dateJoining($element){
|
||||
var candId = $element.attr("data-candidate-id");
|
||||
console.log(candId);
|
||||
var dateVal = $element.val();
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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, ''));
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -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}"}`);
|
||||
}
|
||||
|
||||
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user