Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Document the "expand" query parameter for "tree" in the on-line help. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: | 273dd2c007dbab8d4a4d1330c8bffcc0 |
User & Date: | drh 2014-01-07 02:23:46 |
Context
2014-01-07
| ||
02:38 | Do not wait until the entire tree-view page has loaded before collapsing the tree, because that can cause flicker if the page is loaded incrementally over a slow wire. Collapse the tree using style= attributes as the page loads. check-in: 13c71a97 user: drh tags: trunk | |
02:23 | Document the "expand" query parameter for "tree" in the on-line help. check-in: 273dd2c0 user: drh tags: trunk | |
02:20 | On the tree-view display, add some comments to better explain what is happening and simplify the javascript slightly. check-in: cda3140d user: drh tags: trunk | |
Changes
Changes to src/browse.c.
393 394 395 396 397 398 399 400 401 402 403 404 405 406 |
** WEBPAGE: tree ** ** Query parameters: ** ** name=PATH Directory to display. Optional ** ci=LABEL Show only files in this check-in. Optional. ** re=REGEXP Show only files matching REGEXP. Optional. */ void page_tree(void){ char *zD = fossil_strdup(P("name")); int nD = zD ? strlen(zD)+1 : 0; const char *zCI = P("ci"); int rid = 0; char *zUuid = 0; |
> |
393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 |
** WEBPAGE: tree
**
** Query parameters:
**
** name=PATH Directory to display. Optional
** ci=LABEL Show only files in this check-in. Optional.
** re=REGEXP Show only files matching REGEXP. Optional.
** expand Begin with the tree fully expanded.
*/
void page_tree(void){
char *zD = fossil_strdup(P("name"));
int nD = zD ? strlen(zD)+1 : 0;
const char *zCI = P("ci");
int rid = 0;
char *zUuid = 0;
|