e8cd6eb46b97e0f9d950ca21084d783ffd93b600 braney Wed May 19 11:41:10 2021 -0700 strip off hub_#_ from assembly hub names for suggested session name diff --git src/hg/hgSession/hgSession.c src/hg/hgSession/hgSession.c index 07adf76..de76c75 100644 --- src/hg/hgSession/hgSession.c +++ src/hg/hgSession/hgSession.c @@ -508,31 +508,31 @@ return js; } void showSavingOptions(char *userName, struct slName *existingSessionNames) /* Show options for saving a new named session in our db or to a file. */ { printf("
Save current settings as named session:" " | |||
name: | \n"); cgiMakeOnKeypressTextVar(hgsNewSessionName, - cartUsualString(cart, "db", NULL), + hubConnectSkipHubPrefix(cartUsualString(cart, "db", "mySession")), 20, jsPressOnEnter(hgsDoNewSession)); printf(" "); cgiMakeCheckBox(hgsNewSessionShare, cartUsualBoolean(cart, hgsNewSessionShare, TRUE)); printf("allow this session to be loaded by others\n"); printf(" | "); printf(" "); if (existingSessionNames) { struct dyString *js = dyPrintCheckExistingSessionJs(existingSessionNames, NULL); cgiMakeOnClickSubmitButton(js->string, hgsDoNewSession, "submit"); dyStringFree(&js); } else cgiMakeButton(hgsDoNewSession, "submit"); |