public inbox for [email protected]  
help / color / mirror / Atom feed
From: Nikhil Mohite <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [pgAdmin][RM-6178]: Cannot change background color with servers Throws js Exceptions
Date: Fri, 5 Feb 2021 11:56:06 +0530
Message-ID: <CAOBg0ANAOSg9YyrnUZ-OnQAnjd9=8ityFPuAz+beOs4mpAX0KA@mail.gmail.com> (raw)

Hi Team,

Please find the attached patch for RM-6178
<https://redmine.postgresql.org/issues/6178;: Cannot change background
color with servers Throws js Exceptions.
Updated the parameters for color picker functions.


-- 
*Thanks & Regards,*
*Nikhil Mohite*
*Software Engineer.*
*EDB Postgres* <https://www.enterprisedb.com/;
*Mob.No: +91-7798364578.*


Attachments:

  [application/octet-stream] RM_6178.patch (801B, 3-RM_6178.patch)
  download | inline diff:
diff --git a/web/pgadmin/static/js/backform.pgadmin.js b/web/pgadmin/static/js/backform.pgadmin.js
index 59d24ac5..85c703e2 100644
--- a/web/pgadmin/static/js/backform.pgadmin.js
+++ b/web/pgadmin/static/js/backform.pgadmin.js
@@ -3207,12 +3207,12 @@ define([
         });
       }).on('clear', (instance) => {
         this.applyColor(name, instance, null);
-      }).on('change', (color, instance) => {
+      }).on('change', (color, source, instance) => {
         this.applyColor(name, instance, color);
       }).on('show', (color, instance) => {
         const {palette} = instance.getRoot().palette;
         palette.focus();
-      }).on('hide', (color, instance) => {
+      }).on('hide', (instance) => {
         const button = instance.getRoot().button;
         button.focus();
       });


view thread (2+ 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: [pgAdmin][RM-6178]: Cannot change background color with servers Throws js Exceptions
  In-Reply-To: <CAOBg0ANAOSg9YyrnUZ-OnQAnjd9=8ityFPuAz+beOs4mpAX0KA@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