details: https://code.openbravo.com/erp/devel/pi/rev/e878aac6159c
changeset: 22341:e878aac6159c
user: Asier Lostalé <asier.lostale <at> openbravo.com>
date: Tue Mar 04 13:50:41 2014 +0100
summary: fixed bug 25889: focus field changed when opening Linked Items/Notes
sections
The focus was not set to the section causing the focused field to be reset
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-section.js
| 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 091f2518a7dd -r e878aac6159c
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-section.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-section.js
Tue Mar 04 10:50:40 2014 +0100
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-section.js
Tue Mar 04 13:50:41 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) 2011-2012 Openbravo SLU
+ * All portions are Copyright (C) 2011-2014 Openbravo SLU
* All Rights Reserved.
* Contributor(s): ______________________________________.
************************************************************************
@@ -93,6 +93,8 @@
expandSection: function () {
this.updateAlwaysTakeSpace(true);
+ // force the focus to be set in this item when it is expanded
+ this.focusInItem();
var ret = this.Super('expandSection', arguments);
return ret;
},
------------------------------------------------------------------------------
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