mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merged in jmchilton/galaxy-central-fork-1 (pull request #379)
Disable select2 for all multi-select inputs.
This commit is contained in:
@@ -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) ) {
|
||||
|
||||
Reference in New Issue
Block a user