You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cr...@apache.org on 2004/10/01 15:45:03 UTC
svn commit: rev 47647 - forrest/trunk/src/core/context/skins/pelt/xslt/html
Author: crossley
Date: Fri Oct 1 06:45:02 2004
New Revision: 47647
Modified:
forrest/trunk/src/core/context/skins/pelt/xslt/html/site2xhtml.xsl
Log:
Get window.focus() before window.print()
Modified: forrest/trunk/src/core/context/skins/pelt/xslt/html/site2xhtml.xsl
==============================================================================
--- forrest/trunk/src/core/context/skins/pelt/xslt/html/site2xhtml.xsl (original)
+++ forrest/trunk/src/core/context/skins/pelt/xslt/html/site2xhtml.xsl Fri Oct 1 06:45:02 2004
@@ -527,7 +527,8 @@
<script type="text/javascript" language="Javascript">
function printit() {
if (window.print) {
- window.print() ;
+ window.focus();
+ window.print();
}
}
</script>