f69a8b38592faaedf9c6f254ce5d56e73d91ac64
jnavarr5
  Tue Sep 30 10:48:18 2025 -0700
Initial commit of the customTrack tutorial, refs #34354

diff --git src/hg/js/hgCustom.js src/hg/js/hgCustom.js
index a40bbf54654..3f6d6ebaa47 100644
--- src/hg/js/hgCustom.js
+++ src/hg/js/hgCustom.js
@@ -1,11 +1,16 @@
 function submitClick(ele)
 {
 // Tell the user we are processing the upload when the user clicks on the submit button.
     loadingImage.run();
     return true;
 }
 
 $(document).ready(function()
 {
     loadingImage.init($("#loadingImg"), $("#loadingMsg"), "<p style='color: red; font-style: italic;'>Uploading and processing your data may take some time. Please leave this window open while your custom track is loading.</p>");
+    if (typeof customTrackTour !== 'undefined') {
+        if (typeof startCustomTutorialOnLoad !== 'undefined' && startCustomTutorialOnLoad) {
+            customTrackTour.start();
+        }
+    }
 });