Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Plugin: Intercepting ESC key Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
iSofia
Newbie
Newbie
Avatar

Joined: 24 May 2014
Location: Singapore
Online Status: Offline
Posts: 35
Posted: 01 November 2014 at 1:11am | IP Logged Quote iSofia

Is there any way to intercept the ESC key from a plugin? I see that it is bound to a "change" event in the main application.

When using the showConfirmPopup() function to prompt for unsaved changes, I am able to handle the "okay" and "cancel" buttons, but not the ESC key.

Any help is appreciated. Thank you.
Back to Top View iSofia's Profile Search for other posts by iSofia
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 06 November 2014 at 2:56am | IP Logged Quote Igor

Hello,

I have just checked this with the developers, and they confirmed that Esc key is already handled within showConfirmPopup() function, it should cancel popup as expected.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
iSofia
Newbie
Newbie
Avatar

Joined: 24 May 2014
Location: Singapore
Online Status: Offline
Posts: 35
Posted: 08 November 2014 at 7:31am | IP Logged Quote iSofia

Igor wrote:
...Esc key is already handled within showConfirmPopup() function, it should cancel popup as expected.


Hi Igor. Yes, it does. But while the OK and Cancel buttons return a response, does the ESC key return any? Currently it cancels the showConfirmPopup() message box, but without any notification.
Back to Top View iSofia's Profile Search for other posts by iSofia
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 11 November 2014 at 2:48am | IP Logged Quote Igor

I've checked this with the developers in charge of UI, and they confirm there's indeed a problem with that one - while hitting "Cancel" returns a response, pressing "Esc" doesn't, and they're going to fix that of course.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
iSofia
Newbie
Newbie
Avatar

Joined: 24 May 2014
Location: Singapore
Online Status: Offline
Posts: 35
Posted: 11 November 2014 at 9:22am | IP Logged Quote iSofia

Igor wrote:
I've checked this with the developers in charge of UI, and they confirm there's indeed a problem with that one - while hitting "Cancel" returns a response, pressing "Esc" doesn't, and they're going to fix that of course.


Look forward to it; although I hope that there would not be any major changes to the code structure.

Thank you.
Back to Top View iSofia's Profile Search for other posts by iSofia
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide