forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: rev 47647 - forrest/trunk/src/core/context/skins/pelt/xslt/html
Date Fri, 01 Oct 2004 13:45:03 GMT
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>

Mime
View raw message