Files
TSYSDevStack/CloudronStack/output/CloudronPackages-Artifacts/tirreno/ui/js/parts/ReenrichmentButton.js
ReachableCEO 91d52d2de5 feat(cloudron): add tirreno package artifacts
- Add CloudronStack/output/CloudronPackages-Artifacts/tirreno/ directory and its contents
- Includes package manifest, Dockerfile, source code, documentation, and build artifacts
- Add tirreno-1761840148.tar.gz as a build artifact
- Add tirreno-cloudron-package-1761841304.tar.gz as the Cloudron package
- Include all necessary files for the tirreno Cloudron package

This adds the complete tirreno Cloudron package artifacts to the repository.
2025-10-30 11:43:06 -05:00

24 lines
647 B
JavaScript

// should be used for POST forms
export class ReenrichmentButton {
constructor() {
if (this.reenrichmentButton) {
const onButtonClick = this.onButtonClick.bind(this);
this.reenrichmentButton.addEventListener('click', onButtonClick, false);
}
}
onButtonClick(e) {
e.preventDefault();
this.reenrichmentButton.setAttribute('disabled', '');
this.form.submit();
}
get reenrichmentButton() {
return document.querySelector('#reenrichment-form .reenrichment-button');
}
get form() {
return document.querySelector('#reenrichment-form');
}
}