mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
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:
parent
1f75ce2996
commit
81b3aa9d82
1 changed files with 11 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue