313531099a6e334521a493a0fa296b1738ee93a7 galt Wed Feb 15 15:18:59 2017 -0800 Trying to make sure that js blocks end with a newline, and often a semi-colon before that. This causes trouble for short fragments of js that used to be able to skate by without it. Now that they are joined into larger blocks of js, the proper puncutation is required. refs #18538 diff --git src/hg/lib/fileUi.c src/hg/lib/fileUi.c index a730971..7b4c4de 100644 --- src/hg/lib/fileUi.c +++ src/hg/lib/fileUi.c @@ -841,32 +841,32 @@ (restrictedColumn > 1 ? (restrictedColumn - 1) : columnCount)); // Total if (filesCount > 5) printf("<em><span class='filesCount'></span>%d files</em>",filesCount); // Restriction policy link in later column? if (restrictedColumn > 1) printf("</TD><TH colspan=%d align='left'><A HREF='%s' TARGET=BLANK style='font-size:.9em;'>" "Restriction Policy</A>", columnCount,ENCODE_DATA_RELEASE_POLICY); printf("</TD></TR>\n"); printf("</TFOOT></TABLE>\n"); if (parentTdb == NULL) - jsInline("{$(document).ready(function() {" - "sortTable.initialize($('table.sortable')[0],true,true);});}\n"); + jsInline("$(document).ready(function() {" + "sortTable.initialize($('table.sortable')[0],true,true);});\n"); if (timeIt) uglyTime("Finished table"); return filesCount; } static int filesFindInDir(char *db, struct mdbObj **pmdbFiles, struct fileDb **pFileList, char *fileType, int limit, boolean *exceededLimit, boolean *isUnrestricted) // Prints list of files in downloads directories matching mdb search terms. Returns count { int fileCount = 0; if (isUnrestricted != NULL) *isUnrestricted = TRUE;