# HG changeset patch # User Matti Hamalainen # Date 1416463288 -7200 # Node ID 025380b800a2dca7f37d0a5917ae2fb4291e1f90 # Parent e46f43a8b8dd44e6c4bb4368949ef281f8191106 Show the show order generating buttons only for Normal type compos. diff -r e46f43a8b8dd -r 025380b800a2 admajax.php --- a/admajax.php Thu Nov 20 08:01:04 2014 +0200 +++ b/admajax.php Thu Nov 20 08:01:28 2014 +0200 @@ -1421,7 +1421,7 @@ echo "

#".$id." - ".chentities($compo["name"])." (".$nentries." entries)

\n"; - if ($nentries > 0) + if ($nentries > 0 && $compo["ctype"] == COMPO_NORMAL) { echo stGetFormButtonInput("generate", "", "", " Add missing show positions ", "generateEntryPositions(".$id.", 1)")."\n".