issue 2367 update preview when change the layout setting.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11666 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
devjin 2012-10-11 11:06:06 +00:00
parent 1f75ce2996
commit 81b3aa9d82

View file

@ -48,6 +48,9 @@
}
$layoutSrl = Context::get('layout_srl');
$layoutVars = Context::get('layout_vars');
$layoutVars = json_decode($layoutVars);
$moduleSrl = Context::get('module_srl');
$module = Context::get('module');
$mid = Context::get('mid');
@ -80,6 +83,14 @@
}
}
if($layoutVars)
{
foreach($layoutVars as $key => $val)
{
$layoutInfo->{$key} = $val;
}
}
// menu in layout information becomes an argument for Context:: set
if($layoutInfo->menu_count)
{