Index: src/hg/hgTracks/makeItemsTrack.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/makeItemsTrack.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -b -B -U 4 -r1.7 -r1.8
--- src/hg/hgTracks/makeItemsTrack.c	10 Apr 2010 19:01:19 -0000	1.7
+++ src/hg/hgTracks/makeItemsTrack.c	10 Apr 2010 19:05:24 -0000	1.8
@@ -25,9 +25,8 @@
 char *dupeCommand = cloneString(command);	/* For parsing. */
 int wordCount = chopLine(dupeCommand, words);
 if (wordCount != 5)
    errAbort("Expecting %d words in jsCommand '%s'", wordCount, command);
-uglyf("makeItemsJsCommand %s|%s|%s|%s|%s<BR>\n", words[0], words[1], words[2], words[3], words[4]);
 char *trackName = words[1];
 char *chrom = words[2];
 int chromStart = sqlUnsigned(words[3]);
 int chromEnd = sqlUnsigned(words[4]);
@@ -73,9 +72,8 @@
     {
     char *escapedVal = sqlEscapeString(newVal);
     safef(sql, sizeof(sql), "update %s set %s='%s' where id=%d",
 	    tableName, fieldName, escapedVal, id);
-    uglyf("sql = %s<BR>\n", sql);
     sqlUpdate(conn, sql);
     freez(&escapedVal);
     cartRemove(cart, varName);	/* We don't need it any more. */
     }
@@ -113,9 +111,8 @@
 	return;
 	}
 
     /* Handle edits. */
-    uglyf("Theoretically editing %s #%d", tableName, id);
     updateTextField(trackName, conn, tableName, "name", id);
     updateTextField(trackName, conn, tableName, "description", id);
     }
 }
@@ -164,13 +161,15 @@
         MgFont *font, Color color, enum trackVisibility vis)
 /* Draw simple Bed items. */
 {
 int dragBarHeight = makeItemsExtraHeight(tg);
+#ifdef DEBUG
 struct customTrack *ct = tg->customPt;
 char *tableName = ct->dbTableName;
 hvGfxText(hvg, xOff, yOff, color, font, tableName);
+#endif /* DEBUG */
 hvGfxTextCentered(hvg, xOff, yOff, width, dragBarHeight, color, font, 
-	"--- Drag here or inbetween items to create a new item. ---");
+	"--- Drag here or in between items to create a new item. ---");
 bedDrawSimple(tg, seqStart, seqEnd, hvg, xOff, yOff + dragBarHeight, width,
 	font, color, vis);
 }
 

