forked from extern/egroupware
Etemplate: Fix double duration format in timesheet nextmatch header
This commit is contained in:
parent
2321b218c9
commit
df49c5bcb3
@ -695,6 +695,7 @@ var et2_date_duration = /** @class */ (function (_super) {
|
|||||||
et2_date_duration.prototype.set_display_format = function (format) {
|
et2_date_duration.prototype.set_display_format = function (format) {
|
||||||
if (format.length <= 1) {
|
if (format.length <= 1) {
|
||||||
this.node.remove('select.et2_date_duration');
|
this.node.remove('select.et2_date_duration');
|
||||||
|
this.format.remove();
|
||||||
this.format = null;
|
this.format = null;
|
||||||
}
|
}
|
||||||
this.options.display_format = format;
|
this.options.display_format = format;
|
||||||
|
@ -861,6 +861,7 @@ export class et2_date_duration extends et2_date
|
|||||||
if (format.length <= 1)
|
if (format.length <= 1)
|
||||||
{
|
{
|
||||||
this.node.remove('select.et2_date_duration');
|
this.node.remove('select.et2_date_duration');
|
||||||
|
this.format.remove();
|
||||||
this.format = null;
|
this.format = null;
|
||||||
}
|
}
|
||||||
this.options.display_format = format;
|
this.options.display_format = format;
|
||||||
|
Loading…
Reference in New Issue
Block a user