diff src/tools/xml_tools.py @ 1645:f1da3a8d08ce

core (xmlui): fixed security_limit in deferXMLUI
author Goffi <goffi@goffi.org>
date Sun, 22 Nov 2015 21:24:23 +0100
parents 5b24d6bf5d15
children 0fdd8fe34fbf
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,