details: https://code.openbravo.com/erp/devel/pi/rev/67b514025d56
changeset: 13796:67b514025d56
user: Antonio Moreno <antonio.moreno <at> openbravo.com>
date: Mon Sep 19 17:29:25 2011 +0200
summary: Fixed issue 18182. Print popup will now close after the user has
clicked on a button to print.
diffstat:
src/org/openbravo/erpCommon/utility/reporting/printing/PrintOptions.html | 5
+++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r e5982f367e56 -r 67b514025d56
src/org/openbravo/erpCommon/utility/reporting/printing/PrintOptions.html
--- a/src/org/openbravo/erpCommon/utility/reporting/printing/PrintOptions.html
Mon Sep 19 17:08:19 2011 +0200
+++ b/src/org/openbravo/erpCommon/utility/reporting/printing/PrintOptions.html
Mon Sep 19 17:29:25 2011 +0200
@@ -49,10 +49,11 @@
if (!isWindowInMDIPopup ||
getFrame('LayoutMDI').OB.MainView.TabSet.getSelectedTab().pane.getClassName()==='OBClassicWindow')
{
// If opening in 2.50 layout, do it in hidden frame
submitCommandForm(strCommand, false, null, null, "hiddenFrame");
- closePage();
} else {
- submitCommandForm(strCommand, false, null, null);
+ //In OB 3, we submit the form in the OB 3 background_target hidden
iframe
+ submitCommandForm(strCommand, false, null, null, "background_target");
}
+ closePage();
return true;
}
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits