Notes |
|
(0090181)
|
caristu
|
2016-09-23 08:32
(edited on: 2016-10-21 12:14) |
|
Note that in this case the behavior regarding the first focused field when opening a record in form view using the "click to open the record in a form" button is different from the behavior when using a double-click: when using double-click the first focused element is the field where we made the double click.
For this reason, if we open the record in form view using double-click and clicking on the description field the problem is not reproducible, because the tabIndex assigned to this field is higher than the tabIndex assigned to the child tab element.
Nevertheless, by opening the record with "click to open the record in a form" or double-clicking on the search key field the problem can be reproduced as the tabIndex assigned to that field is the same as the one assigned to the child tab element.
|
|
|
|
The fix of this issue is now pushed to try. |
|
|
(0090804)
|
hgbot
|
2016-10-24 09:38
|
|
Repository: erp/devel/pi
Changeset: 23168c38ed78f1cec09e30577356cfe1ae79193c
Author: Naroa Iriarte <naroa.iriarte <at> openbravo.com>
Date: Fri Oct 21 12:25:34 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/23168c38ed78f1cec09e30577356cfe1ae79193c [^]
Fixed issue 34057: The focus' behavior was not the expected.
In some windows, in form view, the focus was not working fine when using the tab key. In some cases the focus was jumping from a field to the child tab bar instead to the following focusable field, and after, to the field.
The problem was that the tabIndex of the child tab bar was the same than the tabIndex of the field which was expected to be focused.
This is caused because the tabIndex of the child tab bar is not being updated when the formitems are created, and that is the reason because the tabIndexes are overlapped.
To fix this, the "prepareViewForm" of the "ob-standard-view" class has been modified, now it forces to update the child tab bar tabIndex and it gives to it a higher value than the values of the tabIndexes of the parent elements.
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
|
|
|
(0090809)
|
hgbot
|
2016-10-24 11:09
|
|
Repository: erp/devel/pi
Changeset: 25c6ca652d57d9b0feccb1fac1e841620a8d522f
Author: Naroa Iriarte <naroa.iriarte <at> openbravo.com>
Date: Mon Oct 24 11:08:32 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/25c6ca652d57d9b0feccb1fac1e841620a8d522f [^]
Related to issue 34057: The comment has been improved.
The comment has been improved to be clearer.
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
|
|
|
|
code reviewed
tested both in form and grid views |
|
|
|
|
|
|
|