Skip to content

Instantly share code, notes, and snippets.

@colemanw
Created October 24, 2015 20:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save colemanw/12164d4027ca83383794 to your computer and use it in GitHub Desktop.
Save colemanw/12164d4027ca83383794 to your computer and use it in GitHub Desktop.
diff --git a/js/Common.js b/js/Common.js
index 6fa4589..abbea0c 100644
--- a/js/Common.js
+++ b/js/Common.js
@@ -401,9 +401,6 @@ if (!CRM.vars) CRM.vars = {};
// Defaults for single-selects
if ($el.is('select:not([multiple])')) {
settings.minimumResultsForSearch = 10;
- if ($('option:first', this).val() === '') {
- settings.placeholderOption = 'first';
- }
}
$.extend(settings, $el.data('select-params') || {}, options || {});
if (settings.ajax) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment