[pgAdmin][patch] browser beforeunload event code improvements

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin][patch] browser beforeunload event code improvements
Date: 2019-04-19 12:28:17
Message-ID: CAM9w-_=Z6gYzrr+nAPN_Pk5i+HaGJ+p05Ur0pz1JF9vyf-5aNQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

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 Content-Type Size
beforeunload.change.patch application/octet-stream 3.6 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Aditya Toshniwal 2019-04-22 06:00:03 pgAdmin 4 commit: Urgh. Typo.
Previous Message Khushboo Vashi 2019-04-19 05:40:34 [pgAdmin4][Patch] - RM 4160 - (Re-)Edit column properties blocked to "Increment value cannot be empty" error.