Notes |
|
(0038044)
|
mtaal
|
2011-06-06 15:33
|
|
There are some complexities in this in that if the header is in the bottom of the form then expanding will make the form larger. The current logic will try to scroll to the end of the section to make sure that it is shown completely. When collapsing the section the opposite happens.
See this code in the ob-formitem-section.js:
this.form.parentElement.delayCall('scrollTo', [null, this.getTop()], 100);
gr. Martin |
|
|
(0038049)
|
rgoris
|
2011-06-06 16:01
|
|
Just FYI: use a long email thread in gmail and play with expanding and collapsing the emails one by one to see the ideal behavior. |
|
|
(0043210)
|
rgoris
|
2011-11-25 11:54
(edited on: 2011-11-25 12:03) |
|
Focus handling specs:
1) Focus must move to the section header on click
2) FOcus must remain on the section header after hitting space bar twice. This way the user can toggle the section (open and close) to view the insides.
|
|
|
(0043381)
|
hgbot
|
2011-11-27 22:47
|
|
Repository: erp/devel/pi
Changeset: c37e2e581482995aab5f23a1a6fc4933420845c0
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Sun Nov 27 22:46:47 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/c37e2e581482995aab5f23a1a6fc4933420845c0 [^]
Fixed issue 17508: sections doesn't move anymore while expanding or collapsing
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-section.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form-attachments.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form-linked-items.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form-notes.js
---
|
|
|
(0043382)
|
mtaal
|
2011-11-27 23:00
|
|
Reviewed the code change, looks fine to me |
|
|
(0043385)
|
rgoris
|
2011-11-28 09:36
|
|
Tested on IE, FF, Safari and Chrome and it works as it should. |
|
|
|
|