Merge pull request #69 from PrestaEdit/mails

[+] Project: add the possibility to change the default color (#db3484)
This commit is contained in:
Vincent Augagneur
2012-12-12 06:59:04 -08:00
151 changed files with 1052 additions and 1028 deletions
+3
View File
@@ -90,6 +90,9 @@ class HelperOptionsCore extends Helper
$field['required'] = isset($field['required']) ? $field['required'] : $this->required;
if ($field['type'] == 'color')
$this->context->controller->addJS(_PS_JS_DIR_.'jquery/plugins/jquery.colorpicker.js');
// Cast options values if specified
if ($field['type'] == 'select' && isset($field['cast']))
foreach ($field['list'] as $option_key => $option)