Skip to content

Commit

Permalink
// Javascript optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
Damien Metzger committed Jan 2, 2014
1 parent ee1c31e commit e5271ea
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8,975 deletions.
2 changes: 1 addition & 1 deletion controllers/admin/AdminDashboardController.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function setMedia()

$this->addJqueryUI('ui.datepicker');
$this->addJS(array(
_PS_JS_DIR_.'vendor/d3.js',
_PS_JS_DIR_.'vendor/d3.v3.min.js',
__PS_BASE_URI__.$this->admin_webpath.'/themes/'.$this->bo_theme.'/js/vendor/nv.d3.min.js',
_PS_JS_DIR_.'/admin-dashboard.js',
));
Expand Down
2 changes: 1 addition & 1 deletion controllers/admin/AdminOrdersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ public function setMedia()

$this->addJqueryUI('ui.datepicker');
$this->addJqueryPlugin('autosize');
$this->addJS(_PS_JS_DIR_.'vendor/d3.js');
$this->addJS(_PS_JS_DIR_.'vendor/d3.v3.min.js');
if ($this->tabAccess['edit'] == 1 && $this->display == 'view')
{
$this->addJS(_PS_JS_DIR_.'admin_order.js');
Expand Down
Loading

0 comments on commit e5271ea

Please sign in to comment.