Re: [pgadmin-hackers] [pgAdmin4][Patch][Feature_1535]: Pressing ESCfrom within a dialog box should act like "Cancel" button - Mailing list pgadmin-hackers
From
Surinder Kumar
Subject
Re: [pgadmin-hackers] [pgAdmin4][Patch][Feature_1535]: Pressing ESCfrom within a dialog box should act like "Cancel" button
On Mon, Jun 12, 2017 at 7:58 PM, Dave Page <dpage@pgadmin.org> wrote:
Hi
On Mon, Jun 12, 2017 at 2:03 PM, Surinder Kumar <surinder.kumar@enterprisedb.com> wrote: > Hi > > I confirm this is updated patch.
Thanks. Something else seems to have changed that I can't spot. Only <return> should be ignored if a child control has focus - Escape and F1 should continue to work. I tried moving the:
if (panel && panel['_type'] !== 'node_props') return;
into the branch for keyCode.ENTER, but that doesn't seem to help.