diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index be3c1c669ba..2a95dd4cd20 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -6681,8 +6681,7 @@ class Form templateSelection: formatSelection /* For 4.0 */ }); });'."\n"; - } - elseif ($addjscombo == 2) + } elseif ($addjscombo == 2 && ! defined('DISABLE_MULTISELECT')) { // Add other js lib // TODO external lib multiselect/jquery.multi-select.js must have been loaded to use this multiselect plugin @@ -7400,7 +7399,7 @@ class Form } //if ($conf->browser->layout == 'phone') $ret.='
'; - $ret .= '