[-] CORE fixed bug #PSCFV-10595 - small fix in function addJqueryPlugin()

This commit is contained in:
Vincent Augagneur
2013-10-07 10:01:26 +02:00
parent 2a475d066f
commit 3f4f298ad4
+2
View File
@@ -334,12 +334,14 @@ abstract class ControllerCore
} }
} }
else else
{
$plugin_path = Media::getJqueryPluginPath($name, $folder); $plugin_path = Media::getJqueryPluginPath($name, $folder);
if(!empty($plugin_path['css'])) if(!empty($plugin_path['css']))
$this->addCSS($plugin_path['css']); $this->addCSS($plugin_path['css']);
if(!empty($plugin_path['js'])) if(!empty($plugin_path['js']))
$this->addJS($plugin_path['js']); $this->addJS($plugin_path['js']);
}
} }
/** /**