Fix form refresh after bootstrap-table

This commit is contained in:
Cram42 2022-11-11 14:23:38 +08:00
parent 30a7a31724
commit af0872dc23

View file

@ -82,6 +82,14 @@
id="label2TemplateTable"
class="table table-striped snipe-table"
></table>
<script>
document.addEventListener('DOMContentLoaded', () => {
$('#label2TemplateTable').on('load-success.bs.table', (e) => {
let form = document.getElementById('settingsForm');
form.dispatchEvent(new Event('change'));
});
});
</script>
</div>
</div>