Commit 0baabd87 authored by Georgios Dagkakis's avatar Georgios Dagkakis

erp5_hal_json_style: Set previous_skin_selection in kw when Base_activateSimpleView

is to be called for deferred report
parent 1885875b
......@@ -215,6 +215,7 @@ if dialog_category == "object_search" :
# Handle deferred style, unless we are executing the update action
if dialog_method != update_method and kw.get('deferred_style', 0):
kw['deferred_portal_skin'] = kw.get('portal_skin', None)
kw['previous_skin_selection'] = portal.portal_skins.getCurrentSkinName()
# XXX Hardcoded Deferred style name
kw['portal_skin'] = 'Deferred'
......
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