[-] BO : FixBug missing rows and cols attributes for textareas
This commit is contained in:
@@ -245,7 +245,9 @@ class AdminManufacturersControllerCore extends AdminController
|
|||||||
'name' => 'short_description',
|
'name' => 'short_description',
|
||||||
'lang' => true,
|
'lang' => true,
|
||||||
'class' => 'rte',
|
'class' => 'rte',
|
||||||
'hint' => $this->l('Invalid characters:').' <>;=#{}'
|
'hint' => $this->l('Invalid characters:').' <>;=#{}',
|
||||||
|
'rows' => 2,
|
||||||
|
'cols' => 10
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'type' => 'textarea',
|
'type' => 'textarea',
|
||||||
@@ -253,7 +255,9 @@ class AdminManufacturersControllerCore extends AdminController
|
|||||||
'name' => 'description',
|
'name' => 'description',
|
||||||
'lang' => true,
|
'lang' => true,
|
||||||
'class' => 'rte',
|
'class' => 'rte',
|
||||||
'hint' => $this->l('Invalid characters:').' <>;=#{}'
|
'hint' => $this->l('Invalid characters:').' <>;=#{}',
|
||||||
|
'rows' => 2,
|
||||||
|
'cols' => 10
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'type' => 'file',
|
'type' => 'file',
|
||||||
@@ -483,7 +487,9 @@ class AdminManufacturersControllerCore extends AdminController
|
|||||||
'label' => $this->l('Other:'),
|
'label' => $this->l('Other:'),
|
||||||
'name' => 'other',
|
'name' => 'other',
|
||||||
'required' => false,
|
'required' => false,
|
||||||
'hint' => $this->l('Forbidden characters:').' <>;=#{}'
|
'hint' => $this->l('Forbidden characters:').' <>;=#{}',
|
||||||
|
'rows' => 2,
|
||||||
|
'cols' => 10
|
||||||
);
|
);
|
||||||
$form['submit'] = array(
|
$form['submit'] = array(
|
||||||
'title' => $this->l('Save '),
|
'title' => $this->l('Save '),
|
||||||
|
|||||||
Reference in New Issue
Block a user