public inbox for [email protected]  
help / color / mirror / Atom feed
From: Nikhil Mohite <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [pgAdmin][RM-6897]: Execute button of query tool gets disabled once we change anything in the data grid
Date: Wed, 6 Oct 2021 12:49:37 +0530
Message-ID: <CAOBg0ANS2wgGFLdDD0-rwyriyMn5hRaR4oN13zwuS5deSpTuuQ@mail.gmail.com> (raw)

Hi Hackers,

Please find the attached patch for RM-6897:
<https://redmine.postgresql.org/issues/6798; Execute button of query tool
gets disabled once we change anything in the data grid


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


Attachments:

  [application/octet-stream] RM-6798.patch (526B, 3-RM-6798.patch)
  download | inline diff:
diff --git a/web/pgadmin/tools/sqleditor/static/js/sqleditor.js b/web/pgadmin/tools/sqleditor/static/js/sqleditor.js
index a641ecba..2cddf922 100644
--- a/web/pgadmin/tools/sqleditor/static/js/sqleditor.js
+++ b/web/pgadmin/tools/sqleditor/static/js/sqleditor.js
@@ -2895,6 +2895,7 @@ define('tools.querytool', [
             },
             function() {
               // Stop, User wants to save
+              $('#btn-flash').prop('disabled', false);
               return true;
             }
           ).set('labels', {


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-6897]: Execute button of query tool gets disabled once we change anything in the data grid
  In-Reply-To: <CAOBg0ANS2wgGFLdDD0-rwyriyMn5hRaR4oN13zwuS5deSpTuuQ@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