e746311bd2c8bbce7d8855171badf1d3b77b01e9 tdreszer Tue Nov 23 14:23:07 2010 -0800 New format type search drop-down needs to be cleared. diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js index b3496a4..af1741c 100644 --- src/hg/js/hgTracks.js +++ src/hg/js/hgTracks.js @@ -2463,30 +2463,31 @@ if(counter != undefined) { var selCbs = $("input.selCb"); $(counter).text("("+$(selCbs).filter(":enabled:checked").length + " of " +$(selCbs).length+ " selected)"); } } function findTracksClear() {// Clear found tracks and all input controls var foundTracks = $('div#found'); if(foundTracks != undefined) $(foundTracks).remove(); $('input[type="text"]').val(''); // This will always be found //$('select.mdbVar').attr('selectedIndex',0); // Do we want to set the first two to cell/antibody? $('select.mdbVal').attr('selectedIndex',0); // Should be 'Any' $('select.groupSearch').attr('selectedIndex',0); + $('select.typeSearch').attr('selectedIndex',0); //findTracksSearchButtonsEnable(false); return false; } function findTracksSortNow(obj) {// Called by radio button to sort tracks if( $('#sortIt').length == 0 ) $('form#trackSearch').append("<input TYPE=HIDDEN id='sortIt' name='"+$(obj).attr('name')+"' value='"+$(obj).val()+"'>"); else $('#sortIt').val($(obj).val()); $('#searchSubmit').click(); return true; } function findTracksPage(pageVar,startAt)