Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007481Openbravo ERPA. Platformpublic2009-02-10 13:102009-05-21 16:39
dbaz 
dbaz 
lowtrivialalways
closedfixed 
20Kubuntu 8.10
 
2.402.40MP3 
Core
No
0007481: update field labels from callout
Hi All,

In some cases, we have to change some fields' labels depending on giving field (using callout). The problem is that labels are defined as SPAN which have no value attribute.

We have implemented a workround solution by adding :

    if (ElementName.indexOf("_lbl")!=-1) {
      if (Value==null || Value=="null") Value="";
      document.getElementById(ElementName).innerHTML = Value;
      return true;
    }

to function formElementValue in utils.js file.

Regards'
No tags attached.
depends on defect 0005129 closed dbaz update field labels from callout 
Issue History
2009-02-10 13:10dbazNew Issue
2009-02-10 13:10dbazAssigned To => dbaz
2009-02-10 13:10dbazRegression testing => No
2009-02-10 13:11dbazRelationship addeddepends on 0005129
2009-02-10 13:12svnbotCheckin
2009-02-10 13:12svnbotNote Added: 0013303
2009-02-10 13:12svnbotStatusnew => resolved
2009-02-10 13:12svnbotResolutionopen => fixed
2009-02-10 13:12svnbotsvn_revision => 13006
2009-05-21 16:39psarobeStatusresolved => closed

Notes
(0013303)
svnbot   
2009-02-10 13:12   
Repository: openbravo
Revision: 13006
Author: dbaz
Date: 2009-02-10 13:12:00 +0100 (Tue, 10 Feb 2009)

Fixed bug 7481: Added label changing capabilities to formElementValue function

---
U branches/r2.40/web/js/utils.js
---

https://dev.openbravo.com/websvn/openbravo/?rev=13006&sc=1 [^]