Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021501Openbravo ERPB. User interfacepublic2012-08-30 01:212012-09-01 01:03
dbaz 
dbaz 
urgentminoralways
closedfixed 
5
 
 
migueldejuana
Core
No
0021501: Inconsistent behavior while closing a selector
Inconsistent behavior while closing a selector:

If you close a selector by pressing "Cancel" button, the focus goes back to the selector "input", but if you close it by pressing the close button, or pressing ESC key while the focus is in the grid or in the buttons (but not in the filter), the focus doesn't go back to the selector "input"
As "Openbravo Admin"
* Go to "Sales Order"
* Create "new in form"
* Go to "Business Partner" field
* Click the magnifier glass icon (the selector popup is opened)
* Click "Cancel" button
Notice that the focus goes back to the "Business Partner" input field

Now:
* Click the magnifier glass icon again (the selector popup is opened)
* Click the top-right close (X) icon
Notice that the focus is lost. It is wrong
No tags attached.
Issue History
2012-08-30 01:21dbazNew Issue
2012-08-30 01:21dbazAssigned To => dbaz
2012-08-30 01:21dbazModules => Core
2012-08-30 01:21dbazClosed by => guilleaer
2012-08-30 02:42hgbotCheckin
2012-08-30 02:42hgbotNote Added: 0051659
2012-08-30 02:42hgbotStatusnew => resolved
2012-08-30 02:42hgbotResolutionopen => fixed
2012-08-30 02:42hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cf0a1983bcb5f2d042f8e1218c40d0eb923a40ee [^]
2012-08-30 14:08migueldejuanaClosed byguilleaer => migueldejuana
2012-08-30 14:08migueldejuanaNote Added: 0051686
2012-08-30 14:08migueldejuanaStatusresolved => closed
2012-09-01 01:03hudsonbotCheckin
2012-09-01 01:03hudsonbotNote Added: 0051742

Notes
(0051659)
hgbot   
2012-08-30 02:42   
Repository: erp/devel/pi
Changeset: cf0a1983bcb5f2d042f8e1218c40d0eb923a40ee
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Thu Aug 30 01:22:51 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/cf0a1983bcb5f2d042f8e1218c40d0eb923a40ee [^]

Fixed issue 21501: focus goes back to form after close a selector popup
by using the top right close (X) icon button

---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
(0051686)
migueldejuana   
2012-08-30 14:08   
Tested and reviewed in pi@2b882d173e1f
(0051742)
hudsonbot   
2012-09-01 01:03   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/05b3ea484705 [^]

Maturity status: Test