From 6fa398f882ee848012889847e30df3195b2d0736 Mon Sep 17 00:00:00 2001 From: ajnyga Date: Thu, 15 Dec 2022 20:18:41 +0200 Subject: [PATCH] pkp/pkp-lib#7165 Issue datePublished can be set when adding an issue --- js/controllers/form/FormHandler.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/controllers/form/FormHandler.js b/js/controllers/form/FormHandler.js index 5d0c634c78a..670a626002c 100755 --- a/js/controllers/form/FormHandler.js +++ b/js/controllers/form/FormHandler.js @@ -64,6 +64,8 @@ $form.find('.datepicker').each(function() { var $this = $(this); $this.datepicker({ + changeMonth: true, + changeYear: true, altField: '#' + $this.prop('id') + '-altField', altFormat: 'yy-mm-dd', dateFormat: $('#' + $this.prop('id') + '-altField')