1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/8c7f2c84bbbd/ changeset: 8c7f2c84bbbd user: jgoecks date: 2011-10-25 20:59:19 summary: Trackster: automatically remove spaces from an entered location. affected #: 1 file diff -r 6010fcf5e6773a4f06b148420bf046d3d8a22b4d -r 8c7f2c84bbbd084bfbc3edfe64e5a159080145dd static/scripts/trackster.js --- a/static/scripts/trackster.js +++ b/static/scripts/trackster.js @@ -1189,6 +1189,10 @@ } }, go_to: function(str) { + // Preprocess str to remove spaces and commas. + str = str.replace(/ |,/g, ""); + + // Go to new location. var view = this, new_low, new_high, @@ -1199,8 +1203,8 @@ if (pos !== undefined) { try { var pos_split = pos.split("-"); - new_low = parseInt(pos_split[0].replace(/,/g, ""), 10); - new_high = parseInt(pos_split[1].replace(/,/g, ""), 10); + new_low = parseInt(pos_split[0], 10); + new_high = parseInt(pos_split[1], 10); } catch (e) { return false; } 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.