mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
issue 2438, fixed a bug that use pc layout's header script on mobile mode
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11187 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e3dcb48f88
commit
de9492a1c0
1 changed files with 11 additions and 1 deletions
|
|
@ -151,7 +151,17 @@
|
|||
$this->mid = $module_info->mid;
|
||||
$this->module_info = $module_info;
|
||||
Context::setBrowserTitle($module_info->browser_title);
|
||||
$part_config= $oModuleModel->getModulePartConfig('layout',$module_info->layout_srl);
|
||||
|
||||
if($module_info->use_mobile && Mobile::isFromMobilePhone())
|
||||
{
|
||||
$layoutSrl = $module_info->mlayout_srl;
|
||||
}
|
||||
else
|
||||
{
|
||||
$layoutSrl = $module_info->layout_srl;
|
||||
}
|
||||
|
||||
$part_config= $oModuleModel->getModulePartConfig('layout',$layoutSrl);
|
||||
Context::addHtmlHeader($part_config->header_script);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue