1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/8b301f6af834/ changeset: 8b301f6af834 user: dannon date: 2012-09-12 18:59:19 summary: Enhance replace_big_select_inputs to accept a list of elements instead of automatically grabbing all selects. affected #: 1 file diff -r 59e3badd56fd2805b9f89f9b5d2f7dcf6189e74c -r 8b301f6af8340f8cd01022035d5765cf0aba3ede static/scripts/galaxy.base.js --- a/static/scripts/galaxy.base.js +++ b/static/scripts/galaxy.base.js @@ -178,7 +178,7 @@ } // Replace select box with a text input box + autocomplete. -function replace_big_select_inputs(min_length, max_length) { +function replace_big_select_inputs(min_length, max_length, select_elts) { // To do replace, jQuery's autocomplete plugin must be loaded. if (!jQuery().autocomplete) { return; @@ -191,8 +191,10 @@ if (max_length === undefined) { max_length = 3000; } + + var select_elts = select_elts || $('select'); - $('select').each( function() { + select_elts.each( function() { var select_elt = $(this); // Make sure that options is within range. var num_options = select_elt.find('option').length; Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.