Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.2.0.GA
-
Fix Version/s: EE-3.2.0.GA
-
Component/s: None
-
Labels:None
-
Environment:Any
Description
There's a JS error when clicking on 'print table' or 'print both' ('ice' is undefined) in the showcase demo.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Committed fix at revision 34376.
When the printing action starts, the printing plug-in creates a temporary node in an iframe and copies all the markup in the target element to this temporary node, including script tags, and then prints the iframe. When the html is written to the iframe it cannot find our 'ice' object in our scripts, etc. So, I made sure to remove script tags from this copied markup.