2fa07b5e6312c86c9dbb5d39c5a6c71832a78c53 jcasper Mon Apr 27 16:31:47 2015 -0700 Links to genome-store must be GET, not POST, refs #15251 diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js index ed40dd0..d6c4ef0 100644 --- src/hg/js/hgTracks.js +++ src/hg/js/hgTracks.js @@ -3666,31 +3666,31 @@ // NOTE: this is needed for IE but other browsers can detect the dirty page much earlier if (!imageV2.backSupport) { if (imageV2.isDirtyPage()) { // mark as non dirty to avoid infinite loop in chrome. imageV2.markAsCleanPage(); jQuery('body').css('cursor', 'wait'); window.location = "../cgi-bin/hgTracks?hgsid=" + getHgsid(); return false; } } initVars(); imageV2.loadSuggestBox(); // Convert map AREA gets to post the form, ensuring that cart variables are kept // up to date (but turn this off for search form). if ($("FORM").length > 0 && $('#trackSearch').length === 0) { - var allLinks = $('a'); + var allLinks = $('a[class!=noPostLink]'); $( allLinks ).unbind('click'); $( allLinks ).click( posting.saveSettings ); } if ($('#pdfLink').length === 1) { $('#pdfLink').click(function(i) { var thisForm = normed($('#TrackForm')); if (thisForm) { //alert("posting form:"+$(thisForm).attr('name')); updateOrMakeNamedVariable($(thisForm),'hgt.psOutput','on'); return postTheForm($(thisForm).attr('name'),this.href); } return true; }); }