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