Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005129Openbravo ERPA. Platformpublic2008-09-21 17:542009-04-23 17:16
kbe 
dbaz 
normalminoralways
closedfixed 
5
pi 
 
Core
No
0005129: 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'
main
blocks backport 00074812.40 closed dbaz update field labels from callout 
Issue History
2008-09-21 17:54kbeNew Issue
2008-09-21 17:54kbeAssigned To => cromero
2008-09-21 17:54kbesf_bug_id0 => 2121837
2008-09-22 13:17cromeroStatusnew => scheduled
2008-09-22 13:17cromerofix_in_branch => trunk
2008-10-29 13:12cromeroAssigned Tocromero => dbaz
2009-02-10 13:03dbazNote Added: 0013301
2009-02-10 13:04dbazversion2.40 => trunk
2009-02-10 13:04dbazfix_in_branchtrunk =>
2009-02-10 13:05svnbotCheckin
2009-02-10 13:05svnbotNote Added: 0013302
2009-02-10 13:05svnbotStatusscheduled => resolved
2009-02-10 13:05svnbotResolutionopen => fixed
2009-02-10 13:05svnbotsvn_revision => 13005
2009-02-10 13:11dbazRelationship addedblocks 0007481
2009-04-22 11:24psarobeTag Attached: main
2009-04-23 17:16psarobeRegression testing => No
2009-04-23 17:16psarobeStatusresolved => closed

Notes
(0013301)
dbaz   
2009-02-10 13:03   
Good point. We are going to include the function in 2.50
(0013302)
svnbot   
2009-02-10 13:05   
Repository: openbravo
Revision: 13005
Author: dbaz
Date: 2009-02-10 13:05:45 +0100 (Tue, 10 Feb 2009)

Fixed bug 5129: Added label changing capabilities to formElementValue function

---
U trunk/web/js/utils.js
---

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