BrickTracker/templates/set/socket.html

13 lines
480 B
HTML
Raw Normal View History

2025-01-17 11:03:00 +01:00
<script type="text/javascript">
document.addEventListener("DOMContentLoaded", () => {
new BrickSocket('add', '{{ path }}', '{{ namespace }}', {
COMPLETE: '{{ messages['COMPLETE'] }}',
FAIL: '{{ messages['FAIL'] }}',
IMPORT_SET: '{{ messages['IMPORT_SET'] }}',
LOAD_SET: '{{ messages['LOAD_SET'] }}',
PROGRESS: '{{ messages['PROGRESS'] }}',
SET_LOADED: '{{ messages['SET_LOADED'] }}',
}{% if bulk %}, true{% endif %});
});
</script>