src/hg/hgc/hgc.c 1.1534
1.1534 2009/05/06 00:27:49 tdreszer
Added call to show metadata
Index: src/hg/hgc/hgc.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgc/hgc.c,v
retrieving revision 1.1533
retrieving revision 1.1534
diff -b -B -U 4 -r1.1533 -r1.1534
--- src/hg/hgc/hgc.c 5 May 2009 22:48:31 -0000 1.1533
+++ src/hg/hgc/hgc.c 6 May 2009 00:27:49 -0000 1.1534
@@ -218,8 +218,9 @@
#include "chromInfo.h"
#include "gbWarn.h"
#include "mammalPsg.h"
#include "lsSnpPdbChimera.h"
+#include "jsHelper.h"
static char const rcsid[] = "$Id$";
static char *rootDir = "hgcData";
@@ -2476,9 +2477,9 @@
{
char *trackTable = getParentTrackName(tdb);
printf("<P><A HREF=\"../cgi-bin/hgTables?db=%s&hgta_group=%s&hgta_track=%s"
"&hgta_table=%s&position=%s:%d-%d&"
- "hgta_doSchema=describe+table+schema\" TARGET=_BLANK>"
+ "hgta_doSchema=describe+table+schema\" target=ucscSchema title='Open schema in new window'>"
"View table schema</A></P>\n",
database, tdb->grp, trackTable, tdb->tableName,
seqName, winStart+1, winEnd);
}
@@ -2552,8 +2553,9 @@
if (!isCustomTrack(tdb->tableName))
{
printTBSchemaLink(tdb);
+ metadataToggle(tdb,"Track details...",FALSE);
printTrackUiLink(tdb);
printDataVersion(tdb);
printOrigAssembly(tdb);
if ((tableName = hTableForTrack(database, tdb->tableName)) != NULL)
@@ -3551,8 +3553,10 @@
void genericClickHandler(struct trackDb *tdb, char *item, char *itemForUrl)
/* Put up generic track info */
{
+jsIncludeFile("jquery.js", NULL);
+jsIncludeFile("utils.js",NULL);
genericClickHandlerPlus(tdb, item, itemForUrl, NULL);
}
void savePosInTextBox(char *chrom, int start, int end)