Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019701Openbravo ERPA. Platformpublic2012-02-09 11:172012-03-02 15:35
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
 
3.0MP93.0MP9 
Core
No
0019701: Form looses selectonfocus value
Sometimes the form instance looses the selectOnFocus value (which should be true).
1) go to sales order window
2) open a record in form view
3) tab through the fields to the date field
4) click to open the calendar and pick a value
5) the focus moves to the next field but the value in the next field does not get selected
This happens because in the redraw method there are these lines:
this.selectOnFocus = this.previousSelectOnFocus;
delete this.previousSelectOnFocus;

but previousSelectOnFocus is undefined, it should only be used if it was actually set.
No tags attached.
Issue History
2012-02-09 11:17mtaalNew Issue
2012-02-09 11:17mtaalAssigned To => mtaal
2012-02-09 11:17mtaalModules => Core
2012-02-09 11:20hgbotCheckin
2012-02-09 11:20hgbotNote Added: 0044950
2012-02-09 11:20hgbotStatusnew => resolved
2012-02-09 11:20hgbotResolutionopen => fixed
2012-02-09 11:20hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/958905d9a8cfaf789a9abb215d2938cd98c4209b [^]
2012-02-21 11:12alostaleNote Added: 0045300
2012-02-21 11:12alostaleStatusresolved => closed
2012-02-21 11:12alostaleFixed in Version => 3.0MP9
2012-03-02 15:35hudsonbotCheckin
2012-03-02 15:35hudsonbotNote Added: 0045782

Notes
(0044950)
hgbot   
2012-02-09 11:20   
Repository: erp/devel/pi
Changeset: 958905d9a8cfaf789a9abb215d2938cd98c4209b
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Feb 09 11:19:33 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/958905d9a8cfaf789a9abb215d2938cd98c4209b [^]

Fixes issue 19701: Form looses selectonfocus value

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
---
(0045300)
alostale   
2012-02-21 11:12   
Code reviewed and tested on pi@8e3bca6e8153
(0045782)
hudsonbot   
2012-03-02 15:35   
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/544d64e0c159 [^]

Maturity status: Test