core, bridge: actionsGet:
- added a new mechanism to keep actions until they are answered (or timeout-ed)
- keep_id must be explicitly used on actionNew
- actionsGet is used to retrive these actions
- the mechanism is used in deferXMLUI
This commit is contained in:
parent
c0b1f1a86e
commit
a42452ff57
1 changed files with 63 additions and 7 deletions
|
|
@ -1271,7 +1271,7 @@ def deferXMLUI(host, xmlui, action_extra=None, security_limit=C.NO_SECURITY_LIMI
|
|||
action_data = {'xmlui': xmlui.toXml()}
|
||||
if action_extra is not None:
|
||||
action_data.update(action_extra)
|
||||
host.actionNew(action_data, profile=profile)
|
||||
host.actionNew(action_data, keep_id=xmlui.submit_id, profile=profile)
|
||||
return xmlui_d
|
||||
|
||||
def deferDialog(host, message, title=u'Please confirm', type_=C.XMLUI_DIALOG_CONFIRM, options=None,
|
||||
|
|
|
|||
Loading…
Reference in a new issue