Uploaded image for project: '{RETIRED} Curriki'
  1. {RETIRED} Curriki
  2. CURRIKI-846

Javascript errors in Print Preview

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 1.2
    • 1.2
    • WebSite
    • None

    Description

      When you select print preview for a composite asset, you get one Java script error for each content block (Element).

      For example, this page gets 11 errors all the same- http://dev.curriki.org/xwiki/xwiki/view/Coll_jmarks/WYSIWYGEditorTests?viewer=print&withbuttons=1

      in xwiki.js (lin 114)
      o has no properties
      eltHasClass(null, "titlebar_left")xwiki.js (line 114)
      addClass(null, "titlebar_left")xwiki.js (line 109)
      [Break on this error] if(!o.className)

      Also in IE, the widths of the elements are not consistent.

      Finally, the print link in the view page needs to be changed to open in a new window and include the "&withbuttons=1"

      Attachments

        Activity

          People

            harry Hariharan Ganesan
            jmarks Joshua Marks
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: