[+] BO : added new input type tags

This commit is contained in:
vAugagneur
2011-11-22 21:48:07 +00:00
parent 9cd74ad901
commit a190f5dd21
5 changed files with 69 additions and 9 deletions
@@ -53,7 +53,14 @@ class AdminSuppliersControllerCore extends AdminController
parent::__construct();
}
public function setMedia()
{
parent::setMedia();
$this->addJqueryUi('ui.widget');
$this->addJqueryPlugin('tagify');
}
public function initForm()
{
$this->fields_form = array(
@@ -101,7 +108,7 @@ class AdminSuppliersControllerCore extends AdminController
'hint' => $this->l('Forbidden characters:').' <>;=#{}'
),
array(
'type' => 'text',
'type' => 'tags',
'label' => $this->l('Meta keywords:'),
'name' => 'meta_keywords',
'lang' => true,