[OFBiz] SVN: r6546 - trunk/framework/images/webapp/images
jaz@svn.ofbiz.org
jaz at svn.ofbiz.org
Mon Jan 23 00:37:50 CST 2006
Author: jaz
Date: 2006-01-23 00:37:45 -0600 (Mon, 23 Jan 2006)
New Revision: 6546
Modified:
trunk/framework/images/webapp/images/selectall.js
Log:
modified script file to add popup window for print applet loading
Modified: trunk/framework/images/webapp/images/selectall.js
===================================================================
--- trunk/framework/images/webapp/images/selectall.js 2006-01-23 06:36:52 UTC (rev 6545)
+++ trunk/framework/images/webapp/images/selectall.js 2006-01-23 06:37:45 UTC (rev 6546)
@@ -70,7 +70,21 @@
function popUpSmall(url, name) {
popUp(url, name, '300', '450');
}
+function popUpPrint(serverRoot, screen) {
+ screen = screen.replace(/\:/g, "%3A");
+ screen = screen.replace(/\//g, "%2F");
+ screen = screen.replace(/\#/g, "%23");
+ screen = screen.replace(/\?/g, "%3F");
+ screen = screen.replace(/\=/g, "%3D");
+ if (serverRoot == null) {
+ serverRoot = "";
+ }
+
+ var url = serverRoot + "/webtools/control/print?screen=" + screen;
+ popUp(url, "PrintWindow", '250', '650');
+}
+
// hidden div functions
function getStyleObject(objectId) {
More information about the Svn
mailing list