Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-9920

Comments rendering should not use document.write anymore (for new Search service for example)

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • 4.8.0
    • None
    • None
    • None

      Before, for accessibility purposes, the comments buttons were added in javascript using "document.write"

       

      Now with the new search engine and the ajax rendering, the "document.write" done after dom load, erase the whole page

       

      Solution 1: stop doing js rendering, since accessibility does not require it anymore. It will make the XSL easy to read

      Solution 2: replace "document.write" with "jQuery.append"

       

      I vote for solution 1.

       

      Also TODO, find all "document.write" in kernel XSL to hunt it (and open other tickets)

            Unassigned Unassigned
            raphael Raphaël Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: