mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-17 20:11:23 +02:00
Etemplate: Fix double duration format in timesheet nextmatch header
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user