details: https://code.openbravo.com/erp/devel/pi/rev/823fbf69dcf7
changeset: 22635:823fbf69dcf7
user: Asier Lostalé <asier.lostale <at> openbravo.com>
date: Thu Mar 06 08:50:29 2014 +0100
summary: fixed bug 25910: quick launch popup is not closed when item is
selected
Do not set focus on QuickRun when closing, as in some cases enter click to
select an item in the drop down is captured after the focus set causing the
launcher to be reopened.
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/navbar/ob-quickrun-widget.js
| 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diffs (32 lines):
diff -r 827c45d7b645 -r 823fbf69dcf7
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/navbar/ob-quickrun-widget.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/navbar/ob-quickrun-widget.js
Thu Mar 06 03:23:54 2014 +0000
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/navbar/ob-quickrun-widget.js
Thu Mar 06 08:50:29 2014 +0100
@@ -11,7 +11,7 @@
* under the License.
* The Original Code is Openbravo ERP.
* The Initial Developer of the Original Code is Openbravo SLU
- * All portions are Copyright (C) 2010-2012 Openbravo SLU
+ * All portions are Copyright (C) 2010-2014 Openbravo SLU
* All Rights Reserved.
* Contributor(s): ______________________________________.
************************************************************************
@@ -186,8 +186,6 @@
// }
// }
// }
- this.focusOnHide = isc.EH.getFocusCanvas();
-
var left = this.getLeftPosition();
if (isc.Page.isRTL()) {
left = left - this.layout.getVisibleWidth() + this.getVisibleWidth() + 1;
@@ -255,10 +253,6 @@
isc.OBQuickRun.currentQuickRun = null;
}
- if (isc.isA.Canvas(this.focusOnHide)) {
- this.focusOnHide.focus();
- }
-
if (typeof OB.MainView.TabSet.getSelectedTab().pane.tabSelected ===
'function') {
OB.MainView.TabSet.getSelectedTab().pane.tabSelected();
}
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits