<h4>Events Module — JS SyntaxError Fix (line 8459)</h4><ul><li><strong>Fixed:</strong> Uncaught SyntaxError: Unexpected string at line 8459 — onerror img attributes inside JS string used raw single quotes which terminated the JS string. e.g. <code>html += '&lt;img onerror="this.src='/path'"&gt;'</code> — the inner <code>'</code> in <code>'/path'</code> closes the JS string, causing a parse error that breaks ALL button event handlers on the page. Fixed by replacing inner single quotes with <code>&amp;apos;</code> HTML entities. Two occurrences fixed (ImageFileA and ImageFileB carousel img tags).</li></ul><p><strong>File:</strong> platform/module/EventsManager/js/custom_js.php (lines 1029, 1034)</p>