Disable select2 for all multi-select inputs.

These have been nothing but trouble (they have been disabled some places) and are awkward in those places that have not been changed.

Is there any place in Galaxy where multi-select inputs + select2 are being used to create a desirable UX? If yes, can we just create a class for these particular widgets and target it with a boolean expression on the same line?
This commit is contained in:
John Chilton
2014-04-25 13:00:09 -05:00
parent dbca5013cc
commit 895c1d6971
+1 -1
View File
@@ -261,7 +261,7 @@ function replace_big_select_inputs(min_length, max_length, select_elts) {
select_elts = select_elts || $('select');
select_elts.each( function() {
var select_elt = $(this);
var select_elt = $(this).not('[multiple]');
// Make sure that options is within range.
var num_options = select_elt.find('option').length;
if ( (num_options < min_length) || (num_options > max_length) ) {