7606f705f46d78242b0e8ca711967af64f43330d
larrym
  Tue Feb 8 21:45:24 2011 -0800
change some wording
diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js
index 22fc935..b907921 100644
--- src/hg/js/hgTracks.js
+++ src/hg/js/hgTracks.js
@@ -1555,35 +1555,35 @@
                                    data: "hgt.trackImgOnly=1&hgt.ideogramToo=1&position=" + newPosition + "&hgsid=" + getHgsid(),
                                    dataType: "html",
                                    trueSuccess: handleUpdateTrackMap,
                                    success: catchErrorOrDispatch,
                                    error: errorHandler,
                                    cmd: cmd,
                                    cache: false
                                });
                     }
                 }
             }
     } else if (cmd == 'zoomCodon' || cmd == 'zoomExon') {
         var num, ajaxCmd, errorMsg;
         if(cmd == 'zoomCodon') {
             num = prompt("Please enter the codon number to jump to:");
-            ajaxCmd = 'codonPos';
+            ajaxCmd = 'codonToPos';
             errorMsg = num + " is an invalid codon for this gene";
         } else {
             num = prompt("Please enter the exon number to jump to:");
-            ajaxCmd = 'exonPos';
+            ajaxCmd = 'exonToPos';
             errorMsg = num + " is an invalid exon number for this gene";
         }
         if(num) {
             $.ajax({
                        type: "GET",
                        url: "../cgi-bin/hgApi",
                        data: "db=" + getDb() +  "&cmd=" + ajaxCmd + "&num=" + num + "&table=" + args.table + "&name=" + args.name,
                        trueSuccess: handleZoomCodon,
                        success: catchErrorOrDispatch,
                        error: errorHandler,
                        errorMsg: errorMsg,
                        cache: true
                    });
         }
     } else if (cmd == 'hgTrackUi_popup') {