]> git.plutz.net Git - serve0/blobdiff - widgets.sh
bugfix: allow index generation
[serve0] / widgets.sh
index 446b5d2edfafe6d1078dbcaccb8005db8ff08e56..27f5c5b4957523711fea4ef4b6dd182c17093787 100644 (file)
@@ -148,7 +148,7 @@ w_prefs(){
 
 w_index(){
   [ -d "$_DATA/$ITEM/.index" ] && return 1 || printf '
-  [form #index method="POST" action="?a=spawnindex"
+  [form #index method="POST" action="?a=multitag"
     [hidden "ref" "%s"]
     [label Set up for Index view: ]
     [checkbox "recursive" "yes" #spawn_recursive] [label for=spawn_recursive Include subdirectories]
@@ -225,7 +225,8 @@ w_advsearch(){
 
 w_tagging(){
   local tag category
-  printf '[div #multitag [input type="hidden" name="ref" value="%s"]' "$w_refuri"
+  printf '[a href="#multitag" Add Tags]
+          [div #multitag [input type="hidden" name="ref" value="%s"]' "$w_refuri"
   printf '[a href="#" Hide][br]'
 
   printf 'Tags\n%s\n' "$w_tagcategories" \