core (xmlui): fixed security_limit in deferXMLUI

This commit is contained in:
Goffi 2015-11-22 21:24:23 +01:00
commit 6b7272c5b3

View file

@ -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, keep_id=xmlui.submit_id, profile=profile)
host.actionNew(action_data, security_limit=security_limit, 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,