Merged in jmchilton/galaxy-central-fork-1 (pull request #379)

Disable select2 for all multi-select inputs.
This commit is contained in:
John Chilton
2014-05-06 10:08:39 -05:00
+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) ) {