73b74e92fd0ccbea53939947f6b7d593bc663375
galt
  Wed Aug 15 14:23:42 2012 -0700
fix hgc/encodeClick doEncodePeak to support items and use them to match unique display - even though multiples are now incredibly rare with new item=name matching, the code improves the display of the multiples by separating them with a vertical space
diff --git src/hg/hgc/hgc.h src/hg/hgc/hgc.h
index 2fdfff6..00813bd 100644
--- src/hg/hgc/hgc.h
+++ src/hg/hgc/hgc.h
@@ -366,31 +366,31 @@
 /* handle create item clicks for variome */
 
 void doAddVariomeComments(char *wikiItemId, char *chrom, int winStart, int winEnd);
 /* handle add comment item clicks for Variome Track */
 
 void doDeleteVariomeItem(char *wikiItemId, char *chrom, int winStart, int winEnd);
 /* handle delete item clicks for Variome Track */
 
 void printWikiVariomeForm (struct bedDetail *item);
 /* print the wiki annotation form for the variome track */
 
 void customMafClick(struct sqlConnection *conn,
 	struct sqlConnection *conn2, struct trackDb *tdb);
 /* handle clicks on a custom maf */
 
-void doEncodePeak(struct trackDb *tdb, struct customTrack *ct);
+void doEncodePeak(struct trackDb *tdb, struct customTrack *cti, char *item);
 /*  details for encodePeak type tracks.  */
 
 void doEncodeFiveC(struct sqlConnection *conn, struct trackDb *tdb);
 /* Print details for 5C track */
 
 void doPeptideMapping(struct sqlConnection *conn, struct trackDb *tdb, char *item);
 /* Print details for a peptideMapping track.  */
 
 void doHgdpGeo(struct trackDb *tdb, char *item);
 /* Show details page for HGDP SNP with population allele frequencies
  * plotted on a world map. */
 
 void hgdpGeoImg(struct hgdpGeo *geo);
 /* Generate image as PNG, PDF, EPS: world map with pie charts for population allele frequencies. */