Author: pranayp
Date: Sat Sep 17 11:17:47 2016
New Revision: 1761198
URL:
http://svn.apache.org/viewvc?rev=1761198&view=revLog:
Improved: Removed obsolete popUpPrint functions from OfbizUtil.js.
(OFBIZ-8275)
Thanks: Amardeep Singh Jhajj for the contribution.
Modified:
ofbiz/trunk/framework/images/webapp/images/OfbizUtil.js
Modified: ofbiz/trunk/framework/images/webapp/images/OfbizUtil.js
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/OfbizUtil.js?rev=1761198&r1=1761197&r2=1761198&view=diff==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/OfbizUtil.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/OfbizUtil.js Sat Sep 17 11:17:47 2016
@@ -212,50 +212,6 @@ function popUp(url, name, height, width)
function popUpSmall(url, name) {
popUp(url, name, '300', '450');
}
-function popUpPrint(printserver, screen1) {
- popUpPrint(printserver, screen1, null, null);
-}
-function popUpPrint(printserver, screen1, screen2) {
- popUpPrint(printserver, screen1, screen2, null);
-}
-function popUpPrint(printserver, screen1, screen2, screen3) {
- if (printserver == null) {
- printserver = "
http://localhost:10080/"; // default print server port
- }
-
- if (screen1 != null) {
- screen1 = screen1.replace(/\:/g, "%3A");
- screen1 = screen1.replace(/\//g, "%2F");
- screen1 = screen1.replace(/\#/g, "%23");
- screen1 = screen1.replace(/\?/g, "%3F");
- screen1 = screen1.replace(/\=/g, "%3D");
- url = printserver + screen1;
- window.open(url, "screen1", 'location=no,statusbar=1,menubar=0,scrollbars,width=60,height=10,top=0,left=0');
- self.focus();
-
- if (screen2 != null) {
- screen2 = screen2.replace(/\:/g, "%3A");
- screen2 = screen2.replace(/\//g, "%2F");
- screen2 = screen2.replace(/\#/g, "%23");
- screen2 = screen2.replace(/\?/g, "%3F");
- screen2 = screen2.replace(/\=/g, "%3D");
- url = printserver + screen2;
- window.open(url, "screen2", 'location=no,statusbar=1,menubar=0,scrollbars,width=60,height=10,top=0,left=0');
- self.focus();
-
- if (screen3 != null) {
- screen3 = screen3.replace(/\:/g, "%3A");
- screen3 = screen3.replace(/\//g, "%2F");
- screen3 = screen3.replace(/\#/g, "%23");
- screen3 = screen3.replace(/\?/g, "%3F");
- screen3 = screen3.replace(/\=/g, "%3D");
- url = printserver + screen3;
- window.open(url, "screen13", 'location=no,statusbar=1,menubar=0,scrollbars,width=60,height=10,top=0,left=0');
- self.focus();
- }
- }
- }
-}
// Post a form from a pop up using the parent window
function doPostViaParent(formName) {