Przeglądaj źródła

changes for the long desc

VISHAL BHANUSHALI 3 miesięcy temu
rodzic
commit
1009363c18

+ 8 - 0
content_quality_tool_public/static/js/attr-extraction.js

@@ -2548,6 +2548,14 @@ function renderInlineForTable() {
             }
         }
 
+        const desclongCell = baseRow.querySelector('td:nth-child(6)');
+        if (desclongCell) {
+            const longDescDiv = desclongCell.querySelector('.long-desc');
+            if (longDescDiv) {
+                longDescDiv.innerHTML = highlightMatches(longDescDiv.innerHTML, mandatoryValues);
+            }
+        }
+
     });
 
     // Update summary statistics