Added 'confirm' param to Action fields. If True, a confirmation popup will be shown before triggering the action.
This commit is contained in:
parent
3a7b5be03b
commit
0f2c4a1e34
9 changed files with 89 additions and 130 deletions
|
@ -100,6 +100,9 @@ class PoMessage:
|
|||
GOTO_LAST = 'Go to end'
|
||||
GOTO_SOURCE = 'Go back'
|
||||
WHATEVER = 'Whatever'
|
||||
CONFIRM = 'Are you sure ?'
|
||||
YES = 'Yes'
|
||||
NO = 'No'
|
||||
|
||||
def __init__(self, id, msg, default, fuzzy=False, comments=[]):
|
||||
self.id = id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue