From 5711c3e6a26cc39c37c08aaa81cc7ad0c7b8a528 Mon Sep 17 00:00:00 2001 From: Ilya Utkin Date: Tue, 30 Nov 2021 08:59:51 +0300 Subject: [PATCH] Remove the requirement for published_from and published_till --- assets/components/formalicious/js/mgr/widgets/update.panel.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/components/formalicious/js/mgr/widgets/update.panel.js b/assets/components/formalicious/js/mgr/widgets/update.panel.js index 7cfbcea..5949306 100644 --- a/assets/components/formalicious/js/mgr/widgets/update.panel.js +++ b/assets/components/formalicious/js/mgr/widgets/update.panel.js @@ -83,6 +83,7 @@ Formalicious.panel.Update = function(config) { fieldLabel : _('formalicious.settings.label_published_from'), name : 'published_from', width : 500, + allowBlank : true, dateFormat : MODx.config.manager_date_format, timeFormat : MODx.config.manager_time_format, startDay : parseInt(MODx.config.manager_week_start), @@ -98,6 +99,7 @@ Formalicious.panel.Update = function(config) { fieldLabel : _('formalicious.settings.label_published_till'), name : 'published_till', width : 500, + allowBlank : true, dateFormat : MODx.config.manager_date_format, timeFormat : MODx.config.manager_time_format, startDay : parseInt(MODx.config.manager_week_start),