Author: jleroux
Date: Mon Jun 13 13:29:25 2016
New Revision: 1748223

URL: http://svn.apache.org/viewvc?rev=1748223&view=rev
Log:
A patch from Pierre Smits for "PDF reports in Agreements don't open in a new 
screen" https://issues.apache.org/jira/browse/OFBIZ-6688

Added target-window="_BLANK" to open pdf in new screen. 

Modified:
    ofbiz/trunk/applications/accounting/widget/AgreementScreens.xml

Modified: ofbiz/trunk/applications/accounting/widget/AgreementScreens.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/AgreementScreens.xml?rev=1748223&r1=1748222&r2=1748223&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/AgreementScreens.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/AgreementScreens.xml Mon Jun 13 
13:29:25 2016
@@ -378,7 +378,7 @@ under the License.
                                 <parameter param-name="agreementId" 
from-field="agreement.agreementId"/>
                                 <parameter param-name="agreementItemSeqId" 
from-field="agreementItem.agreementItemSeqId"/>
                             </link>
-                            <link target="ListAgreementItemProductsReport" 
text="${uiLabelMap.CommonPrint}" style="buttontext">
+                            <link target="ListAgreementItemProductsReport" 
text="${uiLabelMap.CommonPrint}" style="buttontext" target-window="_BLANK">
                                 <parameter param-name="agreementId" 
from-field="agreement.agreementId"/>
                                 <parameter param-name="agreementItemSeqId" 
from-field="agreementItem.agreementItemSeqId"/>
                             </link>
@@ -414,7 +414,7 @@ under the License.
                                 <parameter param-name="agreementId" 
from-field="agreement.agreementId"/>
                                 <parameter param-name="agreementItemSeqId" 
from-field="agreementItem.agreementItemSeqId"/>
                             </link>
-                            <link target="ListAgreementItemFacilitiesReport" 
text="${uiLabelMap.CommonPrint}" style="buttontext">
+                            <link target="ListAgreementItemFacilitiesReport" 
text="${uiLabelMap.CommonPrint}" style="buttontext" target-window="_BLANK">
                                 <parameter param-name="agreementId" 
from-field="agreement.agreementId"/>
                                 <parameter param-name="agreementItemSeqId" 
from-field="agreementItem.agreementItemSeqId"/>
                             </link>
@@ -577,7 +577,7 @@ under the License.
                                 <parameter param-name="agreementId" 
from-field="agreement.agreementId"/>
                                 <parameter param-name="agreementItemSeqId" 
from-field="agreementItem.agreementItemSeqId"/>
                             </link>
-                            <link 
target="ListAgreementItemSupplierProductsReport" 
text="${uiLabelMap.CommonPrint}" style="buttontext">
+                            <link 
target="ListAgreementItemSupplierProductsReport" 
text="${uiLabelMap.CommonPrint}" style="buttontext" target-window="_BLANK">
                                 <parameter param-name="agreementId" 
from-field="agreement.agreementId"/>
                                 <parameter param-name="agreementItemSeqId" 
from-field="agreementItem.agreementItemSeqId"/>
                             </link>


Reply via email to