Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-12050

IE8 Crashes on jquery code using tmp.styleSheet - similar to resolved CRM-11464

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.8
    • Fix Version/s: 4.3.0
    • Component/s: CiviContribute
    • Labels:

      Description

      Recently upgraded to 4.2.8 and found that users of IE are not seeing certain critical boxes in contribution forms such as the credit card submission box. Upon submitting the form they get a failure because they didn't populate a box that doesn't exist.

      This is very similar to CRM-11464 where tmp.styleSheet in jquery.jstree.js is the culprit. The solution is to put queries of tmp.styleSheet inside a if( !tmp.styleSheet.disabled ) to avoid calling it where its not supported.

      Script debug in IE is alarming on line 85 of jquery.jstree.js shown here:

      tmp.styleSheet.cssText = tmp.styleSheet.cssText + " " + opts.str;

      I did the following in my environment and this appears to make IE load the page without issue:

      if( !tmp.styleSheet.disabled )

      { tmp.styleSheet.cssText = tmp.styleSheet.cssText + " " + opts.str; }

        Attachments

          Activity

            People

            • Assignee:
              pratik.joshi Pratik Joshi
              Reporter:
              dwebb David Webb
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 15 minutes
                15m
                Remaining:
                Remaining Estimate - 15 minutes
                15m
                Logged:
                Time Spent - Not Specified
                Not Specified