public inbox for [email protected]  
help / color / mirror / Atom feed
From: Rahul Shirsat <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [RM3645] Start and End Date does not delete for Schedules in pgAgent Job
Date: Mon, 30 Mar 2020 17:57:22 +0530
Message-ID: <CAKtn9dMZd3Ff_bUXke==VJieAGs_XKL60us4LrYR4qqRv=ioog@mail.gmail.com> (raw)

Hi Hackers,

Please find the patch for pgagents schedules dates issue.

-- 
*Rahul Shirsat*
Software Engineer | EnterpriseDB Corporation.


Attachments:

  [application/octet-stream] RM3645.patch (897B, 3-RM3645.patch)
  download | inline diff:
diff --git a/web/pgadmin/static/js/backgrid.pgadmin.js b/web/pgadmin/static/js/backgrid.pgadmin.js
index b05e1422f..cb45c2d6e 100644
--- a/web/pgadmin/static/js/backgrid.pgadmin.js
+++ b/web/pgadmin/static/js/backgrid.pgadmin.js
@@ -1804,15 +1804,11 @@ define([
       this.$el.datetimepicker('destroy');
       this.is_closing = false;
 
-      if (_.isUndefined(newValue)) {
-        model.trigger('backgrid:error', model, column, val);
-      } else {
-        model.set(column.get('name'), newValue);
-        let command = new Backgrid.Command(ev);
-        setTimeout(() => {
-          model.trigger('backgrid:edited', model, column, command);
-        }, 20);
-      }
+      model.set(column.get('name'), newValue);
+      let command = new Backgrid.Command(ev);
+      setTimeout(() => {
+        model.trigger('backgrid:edited', model, column, command);
+      }, 20);
     },
   });
 


view thread (7+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: [RM3645] Start and End Date does not delete for Schedules in pgAgent Job
  In-Reply-To: <CAKtn9dMZd3Ff_bUXke==VJieAGs_XKL60us4LrYR4qqRv=ioog@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox