Re: [pgAdmin4][Patch]: [FileManager] ReferenceError: assignment to undeclared variable t_res

From: Surinder Kumar <surinder(dot)kumar(at)enterprisedb(dot)com>
To: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin4][Patch]: [FileManager] ReferenceError: assignment to undeclared variable t_res
Date: 2016-05-24 08:14:45
Message-ID: CAM5-9D9rdiyQC6Wg4Kby3wZc6p6hOt8++cBvPC1j7oLtmFibcA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Tue, May 24, 2016 at 1:35 PM, Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com
> wrote:

> On Tue, May 24, 2016 at 1:34 PM, Ashesh Vashi <
> ashesh(dot)vashi(at)enterprisedb(dot)com> wrote:
>
>> On Tue, May 24, 2016 at 12:35 PM, Surinder Kumar <
>> surinder(dot)kumar(at)enterprisedb(dot)com> wrote:
>>
>>> Hi
>>>
>>> *Issues fixed:*
>>> *1. *ReferenceError: assignment to undeclared variable t_res in
>>> FileManager
>>> *2.* Add missing default case in switch statement.
>>> *3.* code improvements.
>>>
>>
> What are those, can you please **share** some insight?
>
1. Added curly braces for If statements.
2. Removed unnecessary code which was setting dialog_title twice.

>
>> --
>>
>> 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>
>>
>>>
>>> issue #1 is reproduced on mozilla browser of ubuntu machine when
>>> FileManager is opened for the first time in Backup server tool.
>>> Thanks to Neel for reporting the issue #1.
>>>
>>> Please review the patch.
>>>
>>> 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

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Surinder Kumar 2016-05-24 09:01:55 [pgAdmin4][Patch]: Add support for CREATE, SELECT & INSERT functionality in View and Materialized view
Previous Message Ashesh Vashi 2016-05-24 08:05:16 Re: [pgAdmin4][Patch]: [FileManager] ReferenceError: assignment to undeclared variable t_res