From 3a22700dacd8a439cffcb208838a4199e732cff7 Mon Sep 17 00:00:00 2001 From: mattamon Date: Mon, 13 Mar 2023 12:30:29 +0100 Subject: [PATCH] Update scheduling --- .../Resources/public/js/pimcore/element/scheduler.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bundles/AdminBundle/Resources/public/js/pimcore/element/scheduler.js b/bundles/AdminBundle/Resources/public/js/pimcore/element/scheduler.js index 55ee2adb7f2..a8ee0ae4c6b 100644 --- a/bundles/AdminBundle/Resources/public/js/pimcore/element/scheduler.js +++ b/bundles/AdminBundle/Resources/public/js/pimcore/element/scheduler.js @@ -141,6 +141,14 @@ pimcore.element.scheduler = Class.create({ {text: t("date"), width: 120, sortable: true, dataIndex: 'date', editor: new Ext.form.DateField() }, {text: t("time"), width: 100, sortable: true, dataIndex: 'time', editor: new Ext.form.TimeField({ format: "H:i", + listeners: { + focus : function(component) { + component.setValue(Ext.util.Format.htmlDecode(component.value)); + }, + blur: function(component){ + component.setValue(Ext.util.Format.htmlEncode(component.value)); + } + } }) }, {text: t("action"), width: 100, sortable: false, dataIndex: 'action', editor: new Ext.form.ComboBox({