Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019702Openbravo ERPA. Platformpublic2012-02-09 11:242012-03-02 15:35
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
 
3.0MP93.0MP9 
Core
No
0019702: Form Item not disabled when calling FIC
When a callout is fired (the FormInitializationComponent is called), then the current focused item does not get disabled. This because it keeps the focus.
Go to sales order lines
in grid mode
edit an existing record
click the combo of the product to pick a new product in the drop-down
when picking a new product the form gets disabled
only the focused field does not get disabled
In ob-smartclient.js there is a bug. The current overwrite of bluritem is this:

  blurItem: function() {
    if (!this.form || this.form.destroyed || this.form._isRedrawing) {
      return;
    }
    this.Super('blurItem', arguments);
  },

but there is no super bluritem implementation, the following should be done:
  _doBlurItem: isc.FormItem.getPrototype().blurItem,
   blurItem: function() {
     if (!this.form || this.form.destroyed || this.form._isRedrawing) {
       return;
     }
    this._doBlurItem();
   },



No tags attached.
Issue History
2012-02-09 11:24mtaalNew Issue
2012-02-09 11:24mtaalAssigned To => mtaal
2012-02-09 11:24mtaalModules => Core
2012-02-09 11:50mtaalProposed Solution updated
2012-02-09 11:53hgbotCheckin
2012-02-09 11:53hgbotNote Added: 0044954
2012-02-09 11:53hgbotStatusnew => resolved
2012-02-09 11:53hgbotResolutionopen => fixed
2012-02-09 11:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c1967f90a2b6073f17905f3a37e32196576baaa1 [^]
2012-02-21 11:14alostaleNote Added: 0045301
2012-02-21 11:14alostaleStatusresolved => closed
2012-02-21 11:14alostaleFixed in Version => 3.0MP9
2012-03-02 15:35hudsonbotCheckin
2012-03-02 15:35hudsonbotNote Added: 0045784

Notes
(0044954)
hgbot   
2012-02-09 11:53   
Repository: erp/devel/pi
Changeset: c1967f90a2b6073f17905f3a37e32196576baaa1
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Feb 09 11:50:48 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/c1967f90a2b6073f17905f3a37e32196576baaa1 [^]

Fixes issue 19702: Form Item not disabled when calling FIC

---
M modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
---
(0045301)
alostale   
2012-02-21 11:14   
Code reviewed and tested on pi@8e3bca6e8153
(0045784)
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