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
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; }