2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/be72dc359cb1/ Changeset: be72dc359cb1 User: dannon Date: 2013-09-26 23:28:16 Summary: Fix workflow multi-input workflow datasets for latest select2 update Affected #: 1 file diff -r c4b5f082ead51a655f24fe5a2478996ee3bde95c -r be72dc359cb1ed5dac86c85ebfaa00d782014969 templates/webapps/galaxy/workflow/run.mako --- a/templates/webapps/galaxy/workflow/run.mako +++ b/templates/webapps/galaxy/workflow/run.mako @@ -72,11 +72,12 @@ $("#new_history_cbx").click(function(){ $("#new_history_input").toggle(this.checked); }); - // The destroy on the following line is temporary and prevents - // select2 use on Input Dataset Steps, but allows elsewhere. We - // need a new widget to better handle pairwise matching. - $('span.multiinput_wrap select[name*="|input"]').removeAttr('multiple').select2("destroy").each(function(i, s) { + $('span.multiinput_wrap select[name*="|input"]').removeAttr('multiple').each(function(i, s) { var select = $(s); + // The destroy on the following line is temporary and prevents + // select2 use on Input Dataset Steps, but allows elsewhere. We + // need a new widget to better handle pairwise matching. + select.select2("destroy"); var new_width = Math.max(200, select.width()) + 20; // Find the label for this element. select.closest('.form-row').children('label').append( https://bitbucket.org/galaxy/galaxy-central/commits/e599b3d6a833/ Changeset: e599b3d6a833 User: dannon Date: 2013-09-26 23:29:32 Summary: merge Affected #: 1 file diff -r 208e514d485b5787d0a37411cf2f50aad73ae3f5 -r e599b3d6a83347bf1f7a6f5cfadfe541c2c1e035 templates/webapps/galaxy/workflow/run.mako --- a/templates/webapps/galaxy/workflow/run.mako +++ b/templates/webapps/galaxy/workflow/run.mako @@ -72,11 +72,12 @@ $("#new_history_cbx").click(function(){ $("#new_history_input").toggle(this.checked); }); - // The destroy on the following line is temporary and prevents - // select2 use on Input Dataset Steps, but allows elsewhere. We - // need a new widget to better handle pairwise matching. - $('span.multiinput_wrap select[name*="|input"]').removeAttr('multiple').select2("destroy").each(function(i, s) { + $('span.multiinput_wrap select[name*="|input"]').removeAttr('multiple').each(function(i, s) { var select = $(s); + // The destroy on the following line is temporary and prevents + // select2 use on Input Dataset Steps, but allows elsewhere. We + // need a new widget to better handle pairwise matching. + select.select2("destroy"); var new_width = Math.max(200, select.width()) + 20; // Find the label for this element. select.closest('.form-row').children('label').append( 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.