30aaa1ec82ebf70d3349ffdd79334c0b0fe64c64 chmalee Wed Oct 4 11:38:32 2023 -0700 Add a class to the icon in hui.c printInfoIcon() so javascript can know to make those tooltips appear, refs #32011 diff --git src/hg/lib/hui.c src/hg/lib/hui.c index 9f56d1a..e6fe14c 100644 --- src/hg/lib/hui.c +++ src/hg/lib/hui.c @@ -9272,32 +9272,32 @@ cartSetBoolean(cart, option, newVal); } } } } puts(""); } return TRUE; } void printInfoIcon(char *mouseover) /* Print info icon (i) with explanatory text on mouseover * Uses jquery icon set, with style customized to GB in jquery-ui.css */ { // jquery icons print a bit high, so using sub instead of span to place next to text -printf("", - mouseover); +printf("", + mouseover, mouseover); } void hCompositeUi(char *db, struct cart *cart, struct trackDb *tdb, char *primarySubtrack, char *fakeSubmit, char *formName) // UI for composite tracks: subtrack selection. If primarySubtrack is // non-NULL, don't allow it to be cleared and only offer subtracks // that have the same type. If fakeSubmit is non-NULL, add a hidden // var with that name so it looks like it was pressed. { bool hasSubgroups = (trackDbSetting(tdb, "subGroup1") != NULL); boolean isMatrix = dimensionsExist(tdb); boolean viewsOnly = FALSE; if (primarySubtrack == NULL && !cartVarExists(cart, "ajax")) {