Commit bfcccb4e authored by Jérome Perrin's avatar Jérome Perrin

Also set deferred_style_dialog_method in kw, so that it is passed to the...

Also set deferred_style_dialog_method in kw, so that it is passed to the method in case Base_callDialogMethod does not redirect

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31353 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 81f558fc
......@@ -236,7 +236,6 @@ for k, v in kw.items() :\n
if v not in (None, [], ()) :\n
clean_kw[k] = kw[k]\n
\n
\n
# Handle deferred style\n
if clean_kw.get(\'deferred_style\', 0):\n
clean_kw[\'deferred_portal_skin\'] = clean_kw.get(\'portal_skin\', None)\n
......@@ -249,6 +248,7 @@ if clean_kw.get(\'deferred_style\', 0):\n
if page_template != \'report_view\':\n
# use simple wrapper\n
clean_kw[\'deferred_style_dialog_method\'] = dialog_method\n
kw[\'deferred_style_dialog_method\'] = dialog_method\n
request.set(\'deferred_style_dialog_method\', dialog_method)\n
dialog_method = \'Base_activateSimpleView\'\n
\n
......
1404
\ No newline at end of file
1405
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment