Re: [pgAdmin4][Patch]: Auto redirect to page on opening FileManager when used in Fieldset

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: Surinder Kumar <surinder(dot)kumar(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin4][Patch]: Auto redirect to page on opening FileManager when used in Fieldset
Date: 2016-05-23 11:09:30
Message-ID: CAG7mmozURTN+ikASG1kHbgcfj2DK1KjtGsz48Nj59sP=mRx=XQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks - committed!

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company
<http://www.enterprisedb.com>

*http://www.linkedin.com/in/asheshvashi*
<http://www.linkedin.com/in/asheshvashi>

On Mon, May 23, 2016 at 4:15 PM, Surinder Kumar <
surinder(dot)kumar(at)enterprisedb(dot)com> wrote:

> Hi,
>
> *Issue*: When FileControl is used in *<fieldset> *tag, it auto redirects
> to some url when FileManager is opened up.
>
> *Reason: *The issue was due to *<form>* tag, when a jQuery event which is
> bound to an element gets fired, the event callback then delegate the
> click event to the parent element which is form tag in this case and thus
> the form was submitted. so this behaviour can be prevented by using
> *event.preventDefault.*
>
> But we found that it is not necessary to use *<form>* tag in
> *Backform.Dialog* View.
> so it can removed.
>
> Please find the patch for this issue.
>
>
> Thanks,
> Surinder Kumar
>
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>
>

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Murtuza Zabuawala 2016-05-23 13:05:59 Re: [PATCH] Tables node (pgAdmin4)
Previous Message Ashesh Vashi 2016-05-23 11:07:58 pgAdmin 4 commit: Fixes the issue about redirection to undesirable URL