Thread: [pgAdmin4][Patch]: RM1858 - File Manager does not honour the file type while traversing the directories

Hi,

When a File Manager is closed by clicking cancel button. Its dom element not destroyed.. So on traversing into directories, when it tries to get currently selected file type, it looks into the dom element but it gets dom of previous dialogs not of currently dialog.

Now whenever an instance of File Manager is closed. its dom elements are also destroyed.

Please find attached patch and review. 


Thanks,
Surinder Kumar
Attachment
Thanks, patch applied.

On Thu, Oct 20, 2016 at 1:37 PM, Surinder Kumar
<surinder.kumar@enterprisedb.com> wrote:
> Hi,
>
> When a File Manager is closed by clicking cancel button. Its dom element not
> destroyed.. So on traversing into directories, when it tries to get
> currently selected file type, it looks into the dom element but it gets dom
> of previous dialogs not of currently dialog.
>
> Now whenever an instance of File Manager is closed. its dom elements are
> also destroyed.
>
> Please find attached patch and review.
>
>
> Thanks,
> Surinder Kumar
>
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company