mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 21:54:14 -08:00
Fix form refresh after bootstrap-table
This commit is contained in:
parent
30a7a31724
commit
af0872dc23
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue