From 7d08d412e7bea6deea339909607c70a6ba8cfc99 Mon Sep 17 00:00:00 2001 From: Etienne Delvarre Date: Thu, 23 Jul 2026 15:52:54 +0200 Subject: [PATCH] =?UTF-8?q?Fiche=20:=20label=20Acte=20=E2=86=92=20Position?= =?UTF-8?q?,=20suppression=20option=20=E2=80=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/app.js | 2 +- public/index.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/app.js b/public/app.js index 79903a4..251d3c2 100644 --- a/public/app.js +++ b/public/app.js @@ -388,7 +388,7 @@ function populateSelects() { ['Acte'].forEach(name => { const sel = document.getElementById(`f-${name.toLowerCase()}`); if (!sel || !columns[name]) return; - while (sel.options.length > 1) sel.remove(1); + sel.innerHTML = ''; columns[name].options.forEach(o => { const opt = document.createElement('option'); opt.value = o; opt.textContent = o; diff --git a/public/index.html b/public/index.html index d86581c..a58d66c 100644 --- a/public/index.html +++ b/public/index.html @@ -286,8 +286,8 @@ window.dispatchEvent(new Event('tiptap-loaded'));
- - + +