FIX_FAMILY_COM

This commit is contained in:
VENKATESHWARAN 2025-10-15 10:15:47 +05:30
parent eeef23512d
commit b1d67886e2

View File

@ -1360,7 +1360,7 @@ $(document).ready(function () {
if (lead_status != "won") { if (lead_status != "won") {
console.log("Lead status is not 'won', setting interval for submitData"); console.log("Lead status is not 'won', setting interval for submitData");
// startInterval(); startInterval();
} else { } else {
console.log("Lead status is 'won', submitData will not be called"); console.log("Lead status is 'won', submitData will not be called");
} }
@ -1557,8 +1557,8 @@ function saveFamilyMembersDetails() {
function resetFamiliyDialogModalValues() { function resetFamiliyDialogModalValues() {
$('#familiy_dialog_row_index').val(''); // $('#familiy_dialog_row_index').val('');
$('#familiy_dialog_column_index').val(''); // $('#familiy_dialog_column_index').val('');
// Reset Self // Reset Self
$('#family_self').prop('checked', true); $('#family_self').prop('checked', true);
@ -3751,6 +3751,8 @@ function setCellInnerHTMLByCellIndex(tableId, rowIndex, colIndex, htmlContent) {
// Set the innerHTML of the cell // Set the innerHTML of the cell
cell.innerHTML = htmlContent; cell.innerHTML = htmlContent;
console.log(`Updated cell at row ${rowIndex}, column ${colIndex} with content: ${htmlContent}`); console.log(`Updated cell at row ${rowIndex}, column ${colIndex} with content: ${htmlContent}`);
$('#familiy_dialog_row_index').val('');
$('#familiy_dialog_column_index').val('');
} else { } else {
console.error(`Column index ${colIndex} does not exist in row ${rowIndex}`); console.error(`Column index ${colIndex} does not exist in row ${rowIndex}`);
} }