eded571df89e184c92e7269e92011dc646c812b7
tdreszer
  Wed Nov 16 10:25:46 2011 -0800
At Angie's request, adding ability to have map items with mouse-over title but no actual link
diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js
index d2a6341..823b28c 100644
--- src/hg/js/hgTracks.js
+++ src/hg/js/hgTracks.js
@@ -355,30 +355,34 @@
         }
     },
 
     mapClk: function ()
     {
         return posting.saveSettings(this);
     },
 
     saveSettings: function (obj)
     {
         if(posting.blockUseMap==true) {
             return false;
         }
         if(obj == undefined || obj.href == undefined) // 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);
             return true;
         }
         var thisForm=$(obj).parents('form');
         if(thisForm == undefined || $(thisForm).length == 0)
             thisForm=$("FORM");
         if($(thisForm).length > 1 )
             thisForm=$(thisForm)[0];
         if(thisForm != undefined && $(thisForm).length == 1) {
             //alert("posting form:"+$(thisForm).attr('name'));
             return postTheForm($(thisForm).attr('name'),obj.href);
         }
         return true;
     }