From 55a672937f513e1a228ac6ed047efcd9e55501de Mon Sep 17 00:00:00 2001 From: Jeremy Goecks Date: Thu, 12 Apr 2012 15:36:06 -0400 Subject: [PATCH] Use javascript:void(0) rather than # in tool section links to avoid unwanted scrolling to top of page. --- static/scripts/handlebars/compiled/panel_section.js | 2 +- static/scripts/handlebars/panel_section.handlebars | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/static/scripts/handlebars/compiled/panel_section.js b/static/scripts/handlebars/compiled/panel_section.js index cb08373e217..cf814274098 100644 --- a/static/scripts/handlebars/compiled/panel_section.js +++ b/static/scripts/handlebars/compiled/panel_section.js @@ -10,7 +10,7 @@ templates['panel_section'] = template(function (Handlebars,depth0,helpers,partia 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 "; + buffer += escapeExpression(stack1) + "\">\n "; foundHelper = helpers.name; stack1 = foundHelper || depth0.name; if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } diff --git a/static/scripts/handlebars/panel_section.handlebars b/static/scripts/handlebars/panel_section.handlebars index d1f1029e87d..c71c5f84d76 100644 --- a/static/scripts/handlebars/panel_section.handlebars +++ b/static/scripts/handlebars/panel_section.handlebars @@ -1,5 +1,5 @@
- {{name}} + {{name}}