Skip to content

Instantly share code, notes, and snippets.

@duellj
Last active July 12, 2016 18:40
Show Gist options
  • Select an option

  • Save duellj/ea7b0bfecde05ac6f61ba7f8d3a944aa to your computer and use it in GitHub Desktop.

Select an option

Save duellj/ea7b0bfecde05ac6f61ba7f8d3a944aa to your computer and use it in GitHub Desktop.
diff --git a/select2.module b/select2.module
index 3fc4909..2519115 100644
--- a/select2.module
+++ b/select2.module
@@ -1179,11 +1179,11 @@ function _select2_set_exuled_for_settings() {
}
-// if ($select2_settings['select_2']['excludes']) {
+ if ($select2_settings['select_2']['excludes']) {
-// $js = drupal_add_js($select2_settings, 'setting');
+ $js = drupal_add_js($select2_settings, 'setting');
-// }
+ }
return $select2_settings;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment