public inbox for [email protected]  
help / color / mirror / Atom feed
From: Murtuza Zabuawala <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [pgAdmin4][RM#3404] Graphical explain plan do not display text under the node
Date: Wed, 6 Jun 2018 22:34:04 +0530
Message-ID: <CAKKotZRqTA8jO0zzSxC6OMjkP80pkG4gMDPadoar4FN9oaXLEg@mail.gmail.com> (raw)

Hi,

PFA minor patch to fix the regression issue introduced with RM#3271 commit
due to which label is not displaying under the graphical explain node, I've
attached the screenshot in RM for your reference.


Attachments:

  [application/octet-stream] RM_3404.diff (815B, 3-RM_3404.diff)
  download | inline diff:
diff --git a/web/pgadmin/misc/static/explain/js/explain.js b/web/pgadmin/misc/static/explain/js/explain.js
index 61cf8f9..aad0dd4 100644
--- a/web/pgadmin/misc/static/explain/js/explain.js
+++ b/web/pgadmin/misc/static/explain/js/explain.js
@@ -576,7 +576,7 @@ define('pgadmin.misc.explain', [
 
       // Draw tooltip
       var image_data = this.toJSON();
-      image.on('mouseover',() => {
+      image.mouseout(() => {
 
         // Empty the tooltip content if it has any and add new data
         toolTipContainer.empty();
@@ -618,7 +618,7 @@ define('pgadmin.misc.explain', [
       });
 
       // Remove tooltip when mouse is out from node's area
-      image.on('mouseout',() => {
+      image.mouseout(() => {
         toolTipContainer.empty();
         toolTipContainer.css({
           'opacity': '0',


view thread (5+ 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: [pgAdmin4][RM#3404] Graphical explain plan do not display text under the node
  In-Reply-To: <CAKKotZRqTA8jO0zzSxC6OMjkP80pkG4gMDPadoar4FN9oaXLEg@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