Uploaded image for project: '{RETIRED} XWiki Enterprise'
  1. {RETIRED} XWiki Enterprise
  2. XE-836

Spaces macro messes up inline edit on IE for administrators


    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0 M2
    • Fix Version/s: 3.0 M3, 2.7.2
    • Component/s: Navigation Application
    • Labels:
    • Environment:
    • Similar issues:


      To reproduce, on IE:

      • login as administrator
      • add the spaces macro in a page:
        {{spaces /}}
      • open that page in inline edit mode
      • try to click the cancel button, a javascript error will occur and cancel wouldn't work. Same for save buttons.

      Technically, when the spaces macro is displayed in a page which is edited inline, the create space form that is generated by the macro causes a form to be nested in another form. This doesn't make sense HTML wise, it is a warning of the HTML validator (not an error) but messes up the DOM on IE (yes, this is the word, I don't have an explanation for what happens), causing the form buttons (cancel, save, etc) to not find their parent form anymore, therefore the errors.

      Also, this closing of the form too early (which I assume is what happens on IE) causes some extra elements to be displayed, which can trouble layouting in columns (in the case of a dashboard with a spaces macro on it).


          Issue Links



              • Assignee:
                lucaa Anca Luca
                lucaa Anca Luca
              • Votes:
                0 Vote for this issue
                0 Start watching this issue


                • Created:
                  Date of First Response: