6d01ac5f9d5e585990537e6146beb591a9170436 max Tue Dec 13 14:35:56 2016 -0800 backing out the documentation of the quick BLAT on the position box again. May lead to more trouble than it's worth for now, refs #16950 diff --git src/hg/js/autocomplete.js src/hg/js/autocomplete.js index d25c204..c807419 100644 --- src/hg/js/autocomplete.js +++ src/hg/js/autocomplete.js @@ -49,33 +49,33 @@ updateFindMatches: function(val) { // highlight genes choosen from suggest list (#6330) if ($('#hgFindMatches').length) $('#hgFindMatches').val(val); else $('#positionInput').parents('form').append(""); }, initialized: false, init: function(db, assemblySupportsGeneSuggest, selectCallback, clickCallback) { // selectCallback(item): called when the user selects a new genomic position from the list // clickCallback(position): called when the user clicks on positionDisplay this.initialized = true; var lastSelected = null; // this is the last value entered by the user via a suggestion (used to distinguish manual entry in the same field) var waterMark; if (assemblySupportsGeneSuggest) { - waterMark = "enter position, gene symbol, search terms or DNA sequence"; + waterMark = "enter position, gene symbol or search terms"; } else { - waterMark = "enter position, search terms or DNA sequence"; + waterMark = "enter position or search terms"; } $('#positionInput').val(""); $('#positionInput').Watermark(waterMark, '#686868'); if (assemblySupportsGeneSuggest) { $('#positionInput').autocomplete({ delay: 500, minLength: 2, source: this.ajaxGet(db), open: function(event, ui) { var pos = $(this).offset().top + $(this).height(); if (!isNaN(pos)) { var maxHeight = $(window).height() - pos - 30; // take off a little more because IE needs it var auto = $('.ui-autocomplete'); var curHeight = $(auto).children().length * 21; if (curHeight > maxHeight) $(auto).css({