mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-21 22:22:15 +01:00
Hide unit label if there is no value
This commit is contained in:
parent
00d668f6d5
commit
d7eb464605
@ -794,7 +794,7 @@ var et2_date_duration = (function(){ "use strict"; return et2_date.extend(
|
||||
}
|
||||
else
|
||||
{
|
||||
this.format.text(this.time_formats[display.unit]);
|
||||
this.format.text(display.unit ? this.time_formats[display.unit] : '');
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user