Explorar o código

autocompletedeluxe compatibility

Signed-off-by: bachy <git@g-u-i.net>
bachy %!s(int64=12) %!d(string=hai) anos
pai
achega
8b5f7c5ccb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      selectList.module

+ 1 - 1
selectList.module

@@ -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));
 
 	// }