Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-23354

The #documentTree($option) is broken when using the showTerminalPages=false

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    Description

      Currently, when using the #documentTree macro with showTerminalDocuments set to false, expanding a node does nothing

      Code to reproduce:

      
      {{velocity}}
      
      #template('documentTree_macros.vm')
      
      {{html}}
                #documentTree({
                  'finder':true,
                  'showWikis': true,
                  'showWikiPrettyName': true,
                  'showDocumentTitle': true,
                  'showObjects': false,
                  'showOnlyViewable': true,
                  'showRoot': false,
                  'showSpaces': true,
                  'showTerminalDocuments': false,
                  'showTranslations': false
                })
      {{/html}}
      
      {{/velocity}}
      
      

      Attachments

        Issue Links

          Activity

            People

              Farcasut Farcasi Alexandru-Vicentiu
              Farcasut Farcasi Alexandru-Vicentiu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: