Hi Hackers,

Attached is the patch to fix the issue while using select all for month
days, hours and minutes in pgAgent job scheduler.

Please review.
PFA.

-- 
Regards,
Yogesh Jain
8982696654
diff --git a/web/pgadmin/browser/server_groups/servers/pgagent/schedules/static/js/pga_schedule.js b/web/pgadmin/browser/server_groups/servers/pgagent/schedules/static/js/pga_schedule.js
index 44d3d4559..531fca72a 100644
--- a/web/pgadmin/browser/server_groups/servers/pgagent/schedules/static/js/pga_schedule.js
+++ b/web/pgadmin/browser/server_groups/servers/pgagent/schedules/static/js/pga_schedule.js
@@ -378,6 +378,7 @@ define('pgadmin.node.pga_schedule', [
               allowClear: true,
               placeholder: gettext('Select the weekdays...'),
               width: 'style',
+              showOnScroll: false,
               dropdownAdapter: $.fn.select2.amd.require(
                 'select2/selectAllAdapter'
               ),
@@ -393,6 +394,7 @@ define('pgadmin.node.pga_schedule', [
               allowClear: true,
               placeholder: gettext('Select the month days...'),
               width: 'style',
+              showOnScroll: false,
               dropdownAdapter: $.fn.select2.amd.require(
                 'select2/selectAllAdapter'
               ),
@@ -408,6 +410,7 @@ define('pgadmin.node.pga_schedule', [
               allowClear: true,
               placeholder: gettext('Select the months...'),
               width: 'style',
+              showOnScroll: false,
               dropdownAdapter: $.fn.select2.amd.require(
                 'select2/selectAllAdapter'
               ),
@@ -427,6 +430,7 @@ define('pgadmin.node.pga_schedule', [
               allowClear: true,
               placeholder: gettext('Select the hours...'),
               width: 'style',
+              showOnScroll: false,
               dropdownAdapter: $.fn.select2.amd.require(
                 'select2/selectAllAdapter'
               ),
@@ -442,6 +446,7 @@ define('pgadmin.node.pga_schedule', [
               allowClear: true,
               placeholder: gettext('Select the minutes...'),
               width: 'style',
+              showOnScroll: false,
               dropdownAdapter: $.fn.select2.amd.require(
                 'select2/selectAllAdapter'
               ),

Reply via email to