autocompletedeluxe compatibility

Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
bachy 2012-04-03 22:01:12 +02:00
parent 747fef9a0a
commit 8b5f7c5ccb

View File

@ -49,7 +49,7 @@ function selectList_init() {
drupal_add_js($mod_path.'/jquery.selectlist.pack.js', array('type'=>'file', 'scope'=>'header', 'group'=>JS_LIBRARY));
drupal_add_js('jQuery(document).ready(function($) { $("select[multiple], .selectlist").removeAttr("size").selectList(); });', array('type'=>'inline', 'scope'=>'header', 'group'=>JS_THEME));
drupal_add_js('jQuery(document).ready(function($) { $("select[multiple]:not(.autocomplete-deluxe-form), .selectlist").removeAttr("size").selectList(); });', array('type'=>'inline', 'scope'=>'header', 'group'=>JS_THEME));
// }