mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-21 21:22:11 -03:00
feat(bulk-tags): add bulk tag management modal and context menu integration
This commit is contained in:
@@ -234,6 +234,19 @@ export class ModalManager {
|
||||
});
|
||||
}
|
||||
|
||||
// Add bulkAddTagsModal registration
|
||||
const bulkAddTagsModal = document.getElementById('bulkAddTagsModal');
|
||||
if (bulkAddTagsModal) {
|
||||
this.registerModal('bulkAddTagsModal', {
|
||||
element: bulkAddTagsModal,
|
||||
onClose: () => {
|
||||
this.getModal('bulkAddTagsModal').element.style.display = 'none';
|
||||
document.body.classList.remove('modal-open');
|
||||
},
|
||||
closeOnOutsideClick: true
|
||||
});
|
||||
}
|
||||
|
||||
document.addEventListener('keydown', this.boundHandleEscape);
|
||||
this.initialized = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user