# HG changeset patch --
Bitbucket.org
# Project galaxy-dist
# URL
http://bitbucket.org/galaxy/galaxy-dist/overview
# User jeremy goecks <jeremy.goecks(a)emory.edu>
# Date 1278947222 14400
# Node ID 399d6d2b7eee9a4e6e9670c44ca3b3a2848ea7a4
# Parent e785da8dfaa235cebbd6d932e3943f15ac091d04
Make URLs for viz zoom in/out images relative.
--- a/static/scripts/trackster.js
+++ b/static/scripts/trackster.js
@@ -111,8 +111,8 @@ var View = function( container, chrom, t
$("<span/>").text(" - ").appendTo(this.chrom_form);
this.high_input =
$("<input/>").addClass("high").css("width",
"10em").appendTo(this.chrom_form);
this.hidden_input = $("<input/>").attr("type",
"hidden").val(this.vis_id).appendTo(this.chrom_form);
- this.zi_link = $("<a/>").click(function() { view.zoom_in();
view.redraw() }).html('<img src="/images/fugue/magnifier-zoom.png"
/>').appendTo(this.chrom_form);
- this.zo_link = $("<a/>").click(function() { view.zoom_out();
view.redraw() }).html('<img src="/images/fugue/magnifier-zoom-out.png"
/>').appendTo(this.chrom_form);;
+ this.zi_link = $("<a/>").click(function() { view.zoom_in();
view.redraw() }).html('<img src="../images/fugue/magnifier-zoom.png"
/>').appendTo(this.chrom_form);
+ this.zo_link = $("<a/>").click(function() { view.zoom_out();
view.redraw() }).html('<img src="../images/fugue/magnifier-zoom-out.png"
/>').appendTo(this.chrom_form);;
var data_d = (this.vis_id !== undefined ? { vis_id: this.vis_id } : { dbkey:
this.dbkey });