|
@@ -42,7 +42,7 @@ def context_adaption(context, request, **kwargs):
|
42
|
42
|
|
43
|
43
|
def navigationbar(context, request, caller_name, **kwargs):
|
44
|
44
|
bar = context[context.NAVIGATIONBAR]
|
45
|
|
- path = kwargs.get("rel_path")
|
|
45
|
+ path = kwargs.get("rel_path", "")
|
46
|
46
|
while len(path) > 0 and path != os.path.sep:
|
47
|
47
|
bar.append_entry(*navigation_entry_parameters(request, path))
|
48
|
48
|
path = os.path.dirname(path)
|
|
@@ -126,4 +126,3 @@ def add_manageupload_menu(request, bar, upload_path):
|
126
|
126
|
def finalise_bar(request, bar):
|
127
|
127
|
if len(bar) == 0:
|
128
|
128
|
bar.append_entry(*empty_entry_parameters(request))
|
129
|
|
-
|