dbb3262ff0bcf115017d3f0abe5bfc26ae1a8dc1
chmalee
  Thu May 2 17:10:15 2024 -0700
Fix drag select opening page in a new window, caused by mistakenly deleting a line that was important when merging the open hgc pages on hgTracks commit, refs #33584

diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js
index 94ef80a..8eb4812 100644
--- src/hg/js/hgTracks.js
+++ src/hg/js/hgTracks.js
@@ -744,30 +744,31 @@
                     popUp.hgTrackUi(id, false);
                 } else {
                     location.assign(href);
                 }
             } else if (cgi === "hgc") {
                 if (id.startsWith("multiz")) {
                     // multiz tracks have a form that lets you change highlighted bases
                     // that does not play well in a pop up
                     location.assign(href);
                     return false;
                 }
                 popUpHgcOrHgGene.hgc(id, this.href);
                 return false;
             }
         }
+        return posting.saveSettings(this);
     },
 
     saveSettings: function (obj)
     {
         if (posting.blockUseMap === true) {
             return false;
         }
         if (!obj || !obj.href) // called directly with obj
             obj = this;                               // and from callback without obj
 
         if ($(obj).hasClass('noLink'))  // TITLE_BUT_NO_LINK
             return false;
 
         if (obj.href.match('#') || obj.target.length > 0) {
             //alert("Matched # ["+obj.href+"] or has target:"+obj.target);