# new TagDialogManager(tagsController)
Constructs a new TagDialogManager
Parameters:
| Name | Type | Description |
|---|---|---|
tagsController |
Object
|
Reference to the tags controller |
Methods
# async closeDialogAndUpdateTag()
Save changes after editing a tag
# deleteTagAfterConfirmation()
Delete a tag after user confirmation
# async handleDeleteTagButtonClick()
Handle the delete tag button click
# handleEditTagChange()
Handle UI state changes when editing a tag
# async handleEditTagClick()
Handle the edit tag button click
# async handleNewTagButtonClick()
Create a new tag dialog
# initAddTagsToGroupDialog(force)
Initialize the add tags to group dialog
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
force |
boolean
|
false | Whether to force initialization even if already done |
# initDeleteTagConfirmationDialog(force)
Initialize the delete tag confirmation dialog
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
force |
boolean
|
false | Whether to force initialization even if already done |
# initEditTagDialog(force)
Initialize the edit tag dialog
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
force |
boolean
|
false | Whether to force initialization even if already done |
# initNewTagDialog(force)
Initialize the new tag dialog
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
force |
boolean
|
false | Whether to force initialization even if already done |
# initRemoveTagAssignmentConfirmationDialog(force)
Initialize the remove tag assignment confirmation dialog
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
force |
boolean
|
false | Whether to force initialization even if already done |
# refreshTagDialogs()
Refresh all dialogs (used after locale changes)
# async removeTagAssignmentAfterConfirmation()
Remove tag assignment after user confirmation
# async saveNewTag()
Save a new tag