]> gitweb.ps.run Git - ps-cgit/commit
ui-shared: Preserve path limit in "tab bar" links
authorJohan Herland <johan@herland.net>
Wed, 9 Jun 2010 23:09:36 +0000 (01:09 +0200)
committerLars Hjemli <hjemli@gmail.com>
Sat, 19 Jun 2010 08:40:24 +0000 (10:40 +0200)
commit7fdff2460440c09d13fc76af3b75e85434e6f563
tree2285bf24286d5ec6046a13b18599e0e00e63111d
parent685872b770be2af643d00365d5358e46687f7385
ui-shared: Preserve path limit in "tab bar" links

When using the "tab bar" in the pageheader to navigate between pages, any
path limit in effect on the current page is forgotten in the link to the
target page, even if the target page can interpret and use the path limit
constructively.

Instead, preserve the current page's path limit in the "tab bar" links to
other pages, where the path limit is useful to the target page.

Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
ui-shared.c