156e33d1f6639d0923249d8dfa300b0cec522ff4
larrym
  Thu Jun 28 10:45:25 2012 -0700
change selectCallback so callback has more info
diff --git src/hg/js/hgGateway.js src/hg/js/hgGateway.js
index c465eab..f7d4ae5 100644
--- src/hg/js/hgGateway.js
+++ src/hg/js/hgGateway.js
@@ -1,21 +1,21 @@
 $(document).ready(function()
 {
     suggestBox.init(document.orgForm.db.value, $('#suggestTrack').length > 0,
-                      function(position) {
-                          $('#positionDisplay').text(position);
-                          $('#position').val(position);
+                      function(item) {
+                          $('#positionDisplay').text(item.id);
+                          $('#position').val(item.id);
                           makeSureSuggestTrackIsVisible();
                       },
                       function(position) {
                           $('#positionDisplay').text(position);
                           $('#position').val(position);
                       }
                    );
     // default the image width to current browser window width
     var ele = $('input[name=pix]');
     if(ele.length && (!ele.val() || ele.val().length == 0)) {
         ele.val(calculateHgTracksWidth());
     }
 });
 
 function makeSureSuggestTrackIsVisible()