3df6ac07c65155cb8fab415e908d3b4b158bd903
larrym
  Thu Oct 20 12:14:20 2011 -0700
add javascript for use in hgCustom CGI
diff --git src/hg/js/hgCustom.js src/hg/js/hgCustom.js
new file mode 100644
index 0000000..ed2d2bc
--- /dev/null
+++ src/hg/js/hgCustom.js
@@ -0,0 +1,7 @@
+function submitClick(ele)
+{
+// Tell the user we are processing the upload when the user clicks on the submit button.
+    $("#loadingBar").append("<img src='../images/loading.gif'/>");
+    $("#loadingMsg").append("<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>");
+    return true;
+}