Only display Edit button when no other handler_body_main has been set (ie., if file really doesn't exist).
This commit is contained in:
parent
6c88960330
commit
ada935e42b
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ fn dirdir_init {
|
||||||
mkdir -p `{basename -d $local_path}
|
mkdir -p `{basename -d $local_path}
|
||||||
save_page
|
save_page
|
||||||
}
|
}
|
||||||
if not
|
if not if(~ $"handler_body_main '')
|
||||||
ll_add handlers_bar_left tpl_handler \
|
ll_add handlers_bar_left tpl_handler \
|
||||||
apps/dirdir/sidebar_controls.tpl
|
apps/dirdir/sidebar_controls.tpl
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue