mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Treat 0 values as empty, and don't show them
This commit is contained in:
parent
9822eb0b87
commit
ab50dd80c8
@ -471,6 +471,10 @@ var et2_date_duration_ro = et2_date_duration.extend([et2_IDetachedDOM],{
|
||||
}
|
||||
}
|
||||
if(typeof _values.value !== 'undefined')
|
||||
{
|
||||
_values.value = parseFloat(_values.value);
|
||||
}
|
||||
if(_values.value)
|
||||
{
|
||||
var display = this._convert_to_display(_values.value);
|
||||
_nodes[0].appendChild(document.createTextNode(display.value));
|
||||
|
Loading…
Reference in New Issue
Block a user