1f0b21a6ad9e0dcbcb8608e48345b0afed1e5908
angie
Fri May 1 16:33:33 2015 -0700
Added support for pasted/uploaded user regions to hgIntegrator.
Currently it's using hgTables' cart variables, so the two CGIs share
user regions; adding regions in hgTables makes them available in
hgIntegrator and vice versa.
refs #14579
diff --git src/hg/lib/jsHelper.c src/hg/lib/jsHelper.c
index 5f1154e..4b189ad 100644
--- src/hg/lib/jsHelper.c
+++ src/hg/lib/jsHelper.c
@@ -233,35 +233,37 @@
}
}
void jsIncludeReactLibs()
/* Prints out ");
puts("");
puts("");
puts("");
puts("");
puts("");
puts("");
+puts("");
puts("");
puts("");
puts("");
puts("");
puts("");
+puts("");
puts("");
puts("");
puts("");
puts("");
}
char *jsCheckAllOnClickHandler(char *idPrefix, boolean state)
/* Returns javascript for use as an onclick attribute value to check all/uncheck all
* all checkboxes with given idPrefix.
* state parameter determines whether to "check all" or "uncheck all" (TRUE means "check all"). */
{
static char buf[512];
jsIncludeFile("utils.js", NULL);
safef(buf, sizeof(buf), "setCheckBoxesWithPrefix(this, '%s', %s); return false", idPrefix, state ? "true" : "false");
return buf;