1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/a30f98b4b463/ changeset: a30f98b4b463 user: jgoecks date: 2012-04-12 21:36:06 summary: Use javascript:void(0) rather than # in tool section links to avoid unwanted scrolling to top of page. affected #: 2 files diff -r de28eda68d0c40f1a71c5ebf95e06cb816dc890b -r a30f98b4b463f32a133f7a42d36411f0f9e63658 static/scripts/handlebars/compiled/panel_section.js --- a/static/scripts/handlebars/compiled/panel_section.js +++ b/static/scripts/handlebars/compiled/panel_section.js @@ -10,7 +10,7 @@ stack1 = foundHelper || depth0.id; if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "id", { hash: {} }); } - buffer += escapeExpression(stack1) + "\">\n <a href=\"#\"><span>"; + buffer += escapeExpression(stack1) + "\">\n <a href=\"javascript:void(0)\"><span>"; foundHelper = helpers.name; stack1 = foundHelper || depth0.name; if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } diff -r de28eda68d0c40f1a71c5ebf95e06cb816dc890b -r a30f98b4b463f32a133f7a42d36411f0f9e63658 static/scripts/handlebars/panel_section.handlebars --- a/static/scripts/handlebars/panel_section.handlebars +++ b/static/scripts/handlebars/panel_section.handlebars @@ -1,5 +1,5 @@ <div class="toolSectionTitle" id="title_{{id}}"> - <a href="#"><span>{{name}}</span></a> + <a href="javascript:void(0)"><span>{{name}}</span></a></div><div id="{{id}}" class="toolSectionBody" style="display: none; "><div class="toolSectionBg"></div> 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.