[FIX] Cache-buster ?v=20260613 sui JS/CSS modificati (help/common/common-bi/i18n/feedback/style/demo) + bump bug-reporter + demo assets

Risolve 'le modifiche non si vedono': /js/help.js era senza ?v -> browser serviva la versione cached
vecchia. 281 ref su 57 pagine + injection demo/bug-reporter aggiornate.
This commit is contained in:
DevEnv nis2-agile
2026-06-13 19:17:59 +02:00
parent b49044c57f
commit 3c484fe604
63 changed files with 315 additions and 315 deletions
+3 -3
View File
@@ -196,10 +196,10 @@
try { if (typeof api !== 'undefined' && api) { api.token = djwt; if (orgv) api.orgId = orgv; } } catch (e3) { /* noop */ }
}
} catch (e1) { /* noop */ }
var css = document.createElement('link'); css.rel = 'stylesheet'; css.href = '/css/demo.css'; document.head.appendChild(css);
var css = document.createElement('link'); css.rel = 'stylesheet'; css.href = '/css/demo.css?v=20260613'; document.head.appendChild(css);
var inject = function () {
var s1 = document.createElement('script'); s1.src = '/js/demo-selectors.js';
s1.onload = function () { var s2 = document.createElement('script'); s2.src = '/js/demo-mode.js'; document.body.appendChild(s2); };
var s1 = document.createElement('script'); s1.src = '/js/demo-selectors.js?v=20260613';
s1.onload = function () { var s2 = document.createElement('script'); s2.src = '/js/demo-mode.js?v=20260613'; document.body.appendChild(s2); };
document.body.appendChild(s1);
};
if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', inject); else inject();