Skip to content

Commit

Permalink
Update sample.html
Browse files Browse the repository at this point in the history
  • Loading branch information
tresf committed Sep 23, 2014
1 parent e4b4bba commit 397adaa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions qz-print/sample.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
*/
deployQZ();

/**
- * Deploys different versions of the applet depending on Java version.
- * Useful for removing warning dialogs for Java 6. This function is optional
- * however, if used, should replace the <applet> method. Needed to address
- * MANIFEST.MF TrustedLibrary=true discrepency between JRE6 and JRE7.
- */
function deployQZ() {
var attributes = {id: "qz", code:'qz.PrintApplet.class',
archive:'qz-print.jar', width:1, height:1};
Expand Down

0 comments on commit 397adaa

Please sign in to comment.