[*] MO : updated controllers for mobile theme

This commit is contained in:
nPellicari
2012-03-13 17:34:18 +00:00
parent 1ada5f91e1
commit 29bbc7049c
4 changed files with 27 additions and 11 deletions
+2 -1
View File
@@ -125,7 +125,8 @@ class IdentityControllerCore extends FrontController
public function setMedia()
{
parent::setMedia();
$this->addCSS(_THEME_CSS_DIR_.'identity.css');
if ($this->context->getMobileDevice() == false)
$this->addCSS(_THEME_CSS_DIR_.'identity.css');
}
}
+1
View File
@@ -53,6 +53,7 @@ class ProductControllerCore extends FrontController
}
else
$this->addJS(array(
_THEME_JS_DIR_.'tools.js',
_THEME_MOBILE_JS_DIR_.'product.js'
));