From 787bf753044e7fac4dfee79321843d5b29e4eec0 Mon Sep 17 00:00:00 2001 From: Jerome Nadaud Date: Tue, 20 Aug 2013 09:52:50 +0200 Subject: [PATCH] [-] BO : FixBug missing rows and cols attributes for textareas --- controllers/admin/AdminManufacturersController.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/controllers/admin/AdminManufacturersController.php b/controllers/admin/AdminManufacturersController.php index 63b862af2..79d62dc5e 100644 --- a/controllers/admin/AdminManufacturersController.php +++ b/controllers/admin/AdminManufacturersController.php @@ -245,7 +245,9 @@ class AdminManufacturersControllerCore extends AdminController 'name' => 'short_description', 'lang' => true, 'class' => 'rte', - 'hint' => $this->l('Invalid characters:').' <>;=#{}' + 'hint' => $this->l('Invalid characters:').' <>;=#{}', + 'rows' => 2, + 'cols' => 10 ), array( 'type' => 'textarea', @@ -253,7 +255,9 @@ class AdminManufacturersControllerCore extends AdminController 'name' => 'description', 'lang' => true, 'class' => 'rte', - 'hint' => $this->l('Invalid characters:').' <>;=#{}' + 'hint' => $this->l('Invalid characters:').' <>;=#{}', + 'rows' => 2, + 'cols' => 10 ), array( 'type' => 'file', @@ -483,7 +487,9 @@ class AdminManufacturersControllerCore extends AdminController 'label' => $this->l('Other:'), 'name' => 'other', 'required' => false, - 'hint' => $this->l('Forbidden characters:').' <>;=#{}' + 'hint' => $this->l('Forbidden characters:').' <>;=#{}', + 'rows' => 2, + 'cols' => 10 ); $form['submit'] = array( 'title' => $this->l('Save '),