Uploaded image for project: '{RETIRED} XWiki Colibri Skin'
  1. {RETIRED} XWiki Colibri Skin
  2. XSCOLIBRI-186

Edit link doesn't link inline-edit mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • 1.11
    • Skin
    • None

    Description

      The Edit-Link doesn't link inline mode as default if "includeForm(" is present in the current document.

      Line 18:

      #set($editaction = $doc.getDefaultEditMode())

      Should be replaced by:

        ## Compute the default edit mode
        #if($doc.content.indexOf("includeForm(")!=-1)
          #set($editaction = "inline")
        #else
          #set($editaction = $doc.getDefaultEditMode())
        #end

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              timo Timo Behrmann
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: