public inbox for [email protected]  
help / color / mirror / Atom feed
[pgAdmin][patch] RM6107 Check constraint input size flickers when editing it
2+ messages / 2 participants
[nested] [flat]

* [pgAdmin][patch] RM6107 Check constraint input size flickers when editing it
@ 2021-04-12 06:20  Rahul Shirsat <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Rahul Shirsat @ 2021-04-12 06:20 UTC (permalink / raw)
  To: pgadmin-hackers

Hi Hackers,

Please find the patch which resolves the flickering issue of the input box
on check constraints.

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


Attachments:

  [application/octet-stream] RM6107.patch (1.0K, 3-RM6107.patch)
  download | inline diff:
diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/check_constraint/static/js/check_constraint.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/check_constraint/static/js/check_constraint.js
index fafae3d75..5ec59f7b9 100644
--- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/check_constraint/static/js/check_constraint.js
+++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/check_constraint/static/js/check_constraint.js
@@ -103,7 +103,8 @@ define('pgadmin.node.check_constraint', [
         // Check Constraint Schema
         schema: [{
           id: 'name', label: gettext('Name'), type:'text', cell:'string',
-          readonly: 'isReadonly',
+          mode: ['properties', 'create', 'edit'], editable:true,
+          cellHeaderClasses:'width_percent_40',
         },{
           id: 'oid', label: gettext('OID'), cell: 'string',
           type: 'text' , mode: ['properties'],


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [pgAdmin][patch] RM6107 Check constraint input size flickers when editing it
@ 2021-04-12 07:05  Akshay Joshi <[email protected]>
  parent: Rahul Shirsat <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Akshay Joshi @ 2021-04-12 07:05 UTC (permalink / raw)
  To: Rahul Shirsat <[email protected]>; +Cc: pgadmin-hackers

Thanks, patch applied.

On Mon, Apr 12, 2021 at 11:51 AM Rahul Shirsat <
[email protected]> wrote:

> Hi Hackers,
>
> Please find the patch which resolves the flickering issue of the input box
> on check constraints.
>
> --
> *Rahul Shirsat*
> Senior Software Engineer | EnterpriseDB Corporation.
>


-- 
*Thanks & Regards*
*Akshay Joshi*
*pgAdmin Hacker | Principal Software Architect*
*EDB Postgres <http://edbpostgres.com>*

*Mobile: +91 976-788-8246*


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-04-12 07:05 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-04-12 06:20 [pgAdmin][patch] RM6107 Check constraint input size flickers when editing it Rahul Shirsat <[email protected]>
2021-04-12 07:05 ` Akshay Joshi <[email protected]>

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