1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/commits/78b8bb8c1715/ Changeset: 78b8bb8c1715 User: guerler Date: 2013-09-30 20:36:09 Summary: Fix color picker location in Trackster Affected #: 2 files
diff -r d6245532768953c97ff0d26aa239ee022001c2f9 -r 78b8bb8c171581394da29d9d47a44710bacf1424 static/scripts/galaxy.modal.js --- a/static/scripts/galaxy.modal.js +++ b/static/scripts/galaxy.modal.js @@ -103,6 +103,12 @@ disable: function(name) { $(this.el).find('#' + String(name).toLowerCase()).prop('disabled', true); }, + + // returns scroll top for body element + scrollTop: function() + { + return $(this.el).find('.modal-body').scrollTop(); + },
/* HTML TEMPLATES
diff -r d6245532768953c97ff0d26aa239ee022001c2f9 -r 78b8bb8c171581394da29d9d47a44710bacf1424 static/scripts/viz/trackster/tracks.js --- a/static/scripts/viz/trackster/tracks.js +++ b/static/scripts/viz/trackster/tracks.js @@ -2020,11 +2020,10 @@ var tip = $(this).siblings(".tooltip").addClass( "in" ); tip.css( { // left: $(this).position().left + ( $(input).width() / 2 ) - 60, - // top: $(this).position().top + $(this.height) + // top: $(this).position().top + $(this.height) left: $(this).position().left + $(this).width() + 5, - top: $(this).position().top - ( $(tip).height() / 2 ) + ( $(this).height() / 2 ) + top: $(this).position().top + Galaxy.modal.scrollTop() - ( $(tip).height() / 2 ) + ( $(this).height() / 2 ) } ).show(); - // Click management:
// Keep showing tip if clicking in tip.
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.