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
d21e6caeb7
commit
8f3cbc3b0d
@ -30,7 +30,7 @@ fn dirdir_init {
|
||||
mkdir -p `{basename -d $local_path}
|
||||
save_page
|
||||
}
|
||||
if not
|
||||
if not if(~ $"handler_body_main '')
|
||||
ll_add handlers_bar_left tpl_handler \
|
||||
apps/dirdir/sidebar_controls.tpl
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user