From c4ac514c9569eafeae446e38da76d6a33f7664e5 Mon Sep 17 00:00:00 2001 From: Daniel kerr Date: Mon, 29 Sep 2014 16:02:38 +0800 Subject: [PATCH] https://github.com/opencart/opencart/issues/1881 --- upload/catalog/controller/module/banner.php | 3 ++- upload/catalog/controller/module/carousel.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/upload/catalog/controller/module/banner.php b/upload/catalog/controller/module/banner.php index 9c2450179b6..27c421556be 100644 --- a/upload/catalog/controller/module/banner.php +++ b/upload/catalog/controller/module/banner.php @@ -5,7 +5,8 @@ public function index($setting) { $this->load->model('design/banner'); $this->load->model('tool/image'); - + + $this->document->addStyle('catalog/view/javascript/jquery/flexslider/flexslider.css'); $this->document->addScript('catalog/view/javascript/jquery/flexslider/jquery.flexslider-min.js'); $data['banners'] = array(); diff --git a/upload/catalog/controller/module/carousel.php b/upload/catalog/controller/module/carousel.php index 3f02a69370c..17806f037dd 100644 --- a/upload/catalog/controller/module/carousel.php +++ b/upload/catalog/controller/module/carousel.php @@ -5,7 +5,8 @@ public function index($setting) { $this->load->model('design/banner'); $this->load->model('tool/image'); - + + $this->document->addStyle('catalog/view/javascript/jquery/flexslider/flexslider.css'); $this->document->addScript('catalog/view/javascript/jquery/flexslider/jquery.flexslider-min.js'); $data['limit'] = $setting['limit'];