Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017135Openbravo ERPA. Platformpublic2011-05-12 11:112011-05-13 10:55
psarobe 
iperdomo 
immediatemajoralways
closedno change required 
5
pi 
3.0RC7 
Core
No
0017135: In some windows when you click new in form view, it does scroll down with no reason
This is very annoying since you have to scroll up all the time.

It happens in Chrome, very bad behaviour
In Fire fox happens but it is not that horrible
In IE9 similar to Fire fox
1. Go to requisition window
2. Create a header
3. Move to lines
4. Click new in form view. Notice that you don't the first row and you need to scroll up

See attach
No tags attached.
related to defect 00171133.0RC7 closed iperdomo Customer tab: When you unflag the customer check, the more information sections doesn't dissapear 
png scroll_down.png (61,132) 2011-05-12 11:11
https://issues.openbravo.com/file_download.php?file_id=3983&type=bug
png
Issue History
2011-05-12 11:11psarobeNew Issue
2011-05-12 11:11psarobeAssigned To => dbaz
2011-05-12 11:11psarobeFile Added: scroll_down.png
2011-05-12 11:11psarobeModules => Core
2011-05-12 11:19mtaalNote Added: 0036711
2011-05-12 12:40iperdomoAssigned Todbaz => iperdomo
2011-05-12 19:07iperdomoTarget Versionpi => 3.0RC7
2011-05-13 10:55iperdomoRelationship addedrelated to 0017113
2011-05-13 10:55iperdomoNote Added: 0036959
2011-05-13 10:55iperdomoStatusnew => closed
2011-05-13 10:55iperdomoResolutionopen => no change required

Notes
(0036711)
mtaal   
2011-05-12 11:19   
This happens because when the FIC is called in the fic return callback a section is expanded (see ob-view-form.js):

        var wasExpanded = section.isExpanded();
        if (!wasExpanded) {
          section.expandSection();
        }

the section expand code forces the form to scroll to the expanded section. This is correct, the question is why the section gets expanded in the fic return. This has to be checked with the person who added this code.
(0036959)
iperdomo   
2011-05-13 10:55   
All the changes required are present in issue 0017113