Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-3205

JS Error in Chrom browser

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • None
    • 2.2.0
    • None
    • None

    Description

      there a JS error preventing any operation in review

                  AJS.$("#dynamicStyle").remove();//so we rip it out of the DOM, and give it a new one.
                  sheet = document.createElement("style");
                  sheet.setAttribute("type", "text/css");
                  sheet.setAttribute("id", "dynamicStyle");
                  sheet.styleSheet.cssText = cascade;
                  AJS.$("head").append(sheet);
      

      In Chrome 5.x script is falling on line
      sheet.styleSheet.cssText = cascade;
      because there is no property styleSheet, but style.

      Attachments

        Activity

          People

            Unassigned Unassigned
            2d15ef7ea19e Andrey Larionov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: