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({