Files
NoN-Site/nonpacks/static/js/version_upload.js
T

9 lines
359 B
JavaScript

// "New version" page: uses the shared uploads.js engine for the version file
// (single slot). On submit the pending version temp is moved into the project.
(function () {
const pending = JSON.parse(
(document.getElementById('packs-pending-uploads') || { textContent: '[]' }).textContent
);
PacksUploads.init({ pending: pending });
})();