mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
On the mobile page, autolink addon need jQuery and XE script lib, and this commit fix the file to load them.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12458 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2d8d2df86d
commit
66c9ae5bb7
1 changed files with 4 additions and 0 deletions
|
|
@ -8,6 +8,10 @@ if(!defined('__XE__')) exit();
|
||||||
*/
|
*/
|
||||||
if($called_position == 'after_module_proc' && Context::getResponseMethod()!="XMLRPC")
|
if($called_position == 'after_module_proc' && Context::getResponseMethod()!="XMLRPC")
|
||||||
{
|
{
|
||||||
|
if(Mobile::isFromMobilePhone()) {
|
||||||
|
Context::addJsFile('./common/js/jquery.min.js',false, '',-1000000);
|
||||||
|
Context::addJsFile('./common/js/xe.min.js',false, '',-1000000);
|
||||||
|
}
|
||||||
Context::loadFile(array('./addons/autolink/autolink.js', 'body', '', null), true);
|
Context::loadFile(array('./addons/autolink/autolink.js', 'body', '', null), true);
|
||||||
}
|
}
|
||||||
/* End of file autolink.addon.php */
|
/* End of file autolink.addon.php */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue