details: /erp/devel/pi/rev/ccdcc3aca320
changeset: 12135:ccdcc3aca320
user: Martin Taal <martin.taal <at> openbravo.com>
date: Thu May 12 17:01:11 2011 +0200
summary: Fixes issue 17138: When you try to move the child tab, the focus
goes directly to the header launching the autosave
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-eventhandler.js
| 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diffs (18 lines):
diff -r 3299a3e1ad8f -r ccdcc3aca320
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-eventhandler.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-eventhandler.js
Thu May 12 16:44:43 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-eventhandler.js
Thu May 12 17:01:11 2011 +0200
@@ -47,6 +47,14 @@
canvas.pane.setAsActiveView();
return true;
}
+
+ // when clicking in the tabbar
+ if (canvas.tabSet && canvas.tabSet.getSelectedTab() &&
canvas.tabSet.getSelectedTab().pane
+ && canvas.tabSet.getSelectedTab().pane.setAsActiveView) {
+ canvas.tabSet.getSelectedTab().pane.setAsActiveView();
+ return true;
+ }
+
do {
if (canvas.view && canvas.view.setAsActiveView) {
canvas.view.setAsActiveView();
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits