Thread: [pgAdmin][patch] browser beforeunload event code improvements

[pgAdmin][patch] browser beforeunload event code improvements

From
Aditya Toshniwal
Date:
Hi Hackers, 

Attached is the patch as an improvement for before unload event setting. Changes are done to bind event beforeunload only where required, unlike previously where just loading browser.js would bind the events which might kill its reusability.

Kindly review.

--
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB Software Solutions | Pune
"Don't Complain about Heat, Plant a tree"
Attachment

Re: [pgAdmin][patch] browser beforeunload event code improvements

From
Akshay Joshi
Date:
Thanks patch applied.

On Fri, Apr 19, 2019 at 5:58 PM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Hackers, 

Attached is the patch as an improvement for before unload event setting. Changes are done to bind event beforeunload only where required, unlike previously where just loading browser.js would bind the events which might kill its reusability.

Kindly review.

--
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB Software Solutions | Pune
"Don't Complain about Heat, Plant a tree"


--
Thanks & Regards
Akshay Joshi
Sr. Software Architect
EnterpriseDB Software India Private Limited
Mobile: +91 976-788-8246