commit/galaxy-central: dannon: Run workflow: Update and clarify label selector.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/eee6085c4e73/ changeset: eee6085c4e73 user: dannon date: 2012-03-05 21:17:41 summary: Run workflow: Update and clarify label selector. affected #: 1 file diff -r 9fd9d437a65e0df9244a08ab50ae6dd1582bbc17 -r eee6085c4e73107b1e9f93db5da4478260e2457c templates/workflow/run.mako --- a/templates/workflow/run.mako +++ b/templates/workflow/run.mako @@ -75,7 +75,8 @@ $('span.multiinput_wrap select[name*="|input"]').removeAttr('multiple').each(function(i, s) { var select = $(s); var new_width = Math.max(200, select.width()) + 20; - select.parent().prev().append( + // Find the label for this element. + select.closest('.form-row').children('label').append( $('<span class="icon-button multiinput"></span>').click(function() { if ($(this).hasClass('disabled')) return; toggle_multiinput(select); 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.
participants (1)
-
Bitbucket