10.0.0 base
Some checks are pending
Integration tests for the release process / release-simulation (push) Waiting to run

This commit is contained in:
David Rotermund 2025-02-08 23:21:02 +01:00
commit 49fe13eb4a
6629 changed files with 777382 additions and 0 deletions

View file

@ -0,0 +1,16 @@
import {initCompLabelEdit} from './comp/LabelEdit.js';
import {toggleElem} from '../utils/dom.js';
export function initCommonOrganization() {
if (!document.querySelectorAll('.organization').length) {
return;
}
document.querySelector('.organization.settings.options #org_name')?.addEventListener('input', function () {
const nameChanged = this.value.toLowerCase() !== this.getAttribute('data-org-name').toLowerCase();
toggleElem('#org-name-change-prompt', nameChanged);
});
// Labels
initCompLabelEdit('.organization.settings.labels');
}