// Features - Remove select language with one language and add autosize to textarea

This commit is contained in:
Jerome Nadaud
2013-10-04 12:23:01 +02:00
parent bb7dd876af
commit 9ae6546d90
2 changed files with 9 additions and 1 deletions
@@ -2212,6 +2212,9 @@ class AdminProductsControllerCore extends AdminController
public function initContent($token = null)
{
//Required for Features Textarea autosize
$this->addJS(_PS_JS_DIR_.'jquery/plugins/jquery.autosize.min.js');
if ($this->display == 'edit' || $this->display == 'add')
{
$this->fields_form = array();