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

Page submenu not enabled when xwiki watch is disabled

    XMLWordPrintable

Details

    • Trivial

    Description

      When xwiki watch is disabled the page submenu from top main menu is disabled because of the following code from menuview.vm

      #set ($displayPageSubmenu = $hasWatch)
      #xwikitopmenuseparator()
      #if(!$displayPageSubmenu)
        #xwikitopmenuentry($xwiki.getURL("${doc.name}", 'view') "$msg.get('core.menu.type.page')__SEPARATOR__$!{escapetool.xml($doc.name)}" 'tmPage' 'hasIcon')
      #else
      

      $displayPageSubmenu should be defined as true in xwikivars.vm and not be linked to $hasWatch

      Attachments

        Activity

          People

            marta Marta Girdea
            flavius.olaru Flavius Olaru
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: