changeset 1645:f1da3a8d08ce

core (xmlui): fixed security_limit in deferXMLUI
author Goffi <goffi@goffi.org>
date Sun, 22 Nov 2015 21:24:23 +0100
parents 98a2eb768bb0
children 7f0c8856e4e1
files src/tools/xml_tools.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/tools/xml_tools.py	Sun Nov 22 21:23:14 2015 +0100
+++ b/src/tools/xml_tools.py	Sun Nov 22 21:24:23 2015 +0100
@@ -1271,7 +1271,7 @@
     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,