public inbox for [email protected]  
help / color / mirror / Atom feed
[pgAdmin][RM-5810]: In-table editing on certain cell values does not result in cell content being autoselected.
2+ messages / 2 participants
[nested] [flat]

* [pgAdmin][RM-5810]: In-table editing on certain cell values does not result in cell content being autoselected.
@ 2021-03-04 04:59  Nikhil Mohite <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Nikhil Mohite @ 2021-03-04 04:59 UTC (permalink / raw)
  To: pgadmin-hackers

Hi Hackers,

Please find the attached patch for RM-5810
<https://redmine.postgresql.org/issues/5810;: In-table editing on certain
cell values does not result in cell content being autoselected.

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


Attachments:

  [application/octet-stream] RM-5810.patch (620B, 3-RM-5810.patch)
  download | inline diff:
diff --git a/web/pgadmin/static/js/slickgrid/editors.js b/web/pgadmin/static/js/slickgrid/editors.js
index a69f89b4..b337d46e 100644
--- a/web/pgadmin/static/js/slickgrid/editors.js
+++ b/web/pgadmin/static/js/slickgrid/editors.js
@@ -214,6 +214,7 @@ import gettext from 'sources/gettext';
       if (!args.column.is_array) {
         if (item[args.column.field] === '') {
           $input.val(defaultValue = '\'\'');
+          $input.trigger('select');
         } else if (item[args.column.field] === '\'\'') {
           $input.val(defaultValue = '\\\'\\\'');
         } else if (item[args.column.field] === '""') {


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

* Re: [pgAdmin][RM-5810]: In-table editing on certain cell values does not result in cell content being autoselected.
@ 2021-03-04 08:24  Akshay Joshi <[email protected]>
  parent: Nikhil Mohite <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Akshay Joshi @ 2021-03-04 08:24 UTC (permalink / raw)
  To: Nikhil Mohite <[email protected]>; +Cc: pgadmin-hackers

Thanks, patch applied.

On Thu, Mar 4, 2021 at 10:29 AM Nikhil Mohite <
[email protected]> wrote:

> Hi Hackers,
>
> Please find the attached patch for RM-5810
> <https://redmine.postgresql.org/issues/5810;: In-table editing on certain
> cell values does not result in cell content being autoselected.
>
> --
> *Thanks & Regards,*
> *Nikhil Mohite*
> *Software Engineer.*
> *EDB Postgres* <https://www.enterprisedb.com/;
> *Mob.No: +91-7798364578.*
>


-- 
*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-03-04 08:24 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-03-04 04:59 [pgAdmin][RM-5810]: In-table editing on certain cell values does not result in cell content being autoselected. Nikhil Mohite <[email protected]>
2021-03-04 08:24 ` 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