Przeglądaj źródła

autocompletedeluxe compatibility

Signed-off-by: bachy <git@g-u-i.net>
bachy 12 lat temu
rodzic
commit
8b5f7c5ccb
1 zmienionych plików z 1 dodań i 1 usunięć
  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));
 
 	// }