2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/953adf353b53/ Changeset: 953adf353b53 Branch: stable User: james_taylor Date: 2013-11-09 23:05:34 Summary: Fix trackster dbkey selection in safari Affected #: 1 file diff -r e9fa47bcdbea2960e8af5b0dba7e7c52071098c3 -r 953adf353b537866fa6f88a5f0e29badf3888571 static/scripts/viz/trackster.js --- a/static/scripts/viz/trackster.js +++ b/static/scripts/viz/trackster.js @@ -125,8 +125,9 @@ }); // select default - if (galaxy_config.app.default_dbkey) - $("#new-dbkey option[value='" + galaxy_config.app.default_dbkey + "']").attr("selected", true); + if (galaxy_config.app.default_dbkey) { + $("#new-dbkey").val( galaxy_config.app.default_dbkey ); + } // change focus $("#new-title").focus(); @@ -156,8 +157,9 @@ '<select name="dbkey" id="new-dbkey">'; // add dbkeys - for (var key in response) - html += '<option value="' + response[key][1] + '">' + response[key][0] + '</option>'; + for (var i = 0; i < response.length; i++) { + html += '<option value="' + response[i][1] + '">' + response[i][0] + '</option>'; + } // close selection/finalize template html += '</select>' + https://bitbucket.org/galaxy/galaxy-central/commits/ce3592d689f6/ Changeset: ce3592d689f6 User: james_taylor Date: 2013-11-09 23:07:16 Summary: Merge stable -> default Affected #: 1 file diff -r 493310055f1ac4a4b8f8f1401d855c9e6fb516ba -r ce3592d689f6f5f6c28fd2990dfcc11bd2952888 static/scripts/viz/trackster.js --- a/static/scripts/viz/trackster.js +++ b/static/scripts/viz/trackster.js @@ -125,8 +125,9 @@ }); // select default - if (galaxy_config.app.default_dbkey) - $("#new-dbkey option[value='" + galaxy_config.app.default_dbkey + "']").attr("selected", true); + if (galaxy_config.app.default_dbkey) { + $("#new-dbkey").val( galaxy_config.app.default_dbkey ); + } // change focus $("#new-title").focus(); @@ -156,8 +157,9 @@ '<select name="dbkey" id="new-dbkey">'; // add dbkeys - for (var key in response) - html += '<option value="' + response[key][1] + '">' + response[key][0] + '</option>'; + for (var i = 0; i < response.length; i++) { + html += '<option value="' + response[i][1] + '">' + response[i][0] + '</option>'; + } // close selection/finalize template html += '</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.