issue 2367 add cases that mobile view and no module instance.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11894 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
devjin 2012-10-25 11:24:49 +00:00
parent 1530b6cf97
commit 707e11b013
2 changed files with 54 additions and 16 deletions

View file

@ -1669,6 +1669,12 @@ class Context {
$self->html_header .= "\n".$header;
}
function clearHtmlHeader()
{
is_a($this,'Context')?$self=&$this:$self=&Context::getInstance();
$self->html_header = '';
}
/**
* Returns added html code by addHtmlHeader()
*