Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Make CTRL-click equivalent work on Mac Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
tigertech
Newbie
Newbie


Joined: 21 November 2019
Online Status: Offline
Posts: 23
Posted: 20 May 2021 at 3:09pm | IP Logged Quote tigertech

Suggestion:

I noticed that in the message selector list, a CTRL-click anywhere in the message row is the same as clicking just the checkbox of that row (i.e., it adds to the selection). This is a useful feature.

This feature doesn't work on a Mac computer, though, because the Mac doesn't use CTRL for this -- on the Mac, a control click in a web browser is the same as a mouse right-click on a Windows computer and makes a browser menu appear.

On a Mac, the "command" key is usually used for this purpose, which JavaScript recognizes as the "meta" key.

This makes the feature work on a Mac as well as Windows:

Code:

--- a/modules/CoreWebclient/js/CSelector.js
+++ b/modules/CoreWebclient/js/CSelector.js
@@ -412,7 +412,7 @@ CSelector.prototype.initOnApplyBindings
                         fEventClickFunction(oLast, oItem, oEvent);
                    }
               }
-               else if (oEvent.ctrlKey)
+               else if (oEvent.ctrlKey || oEvent.metaKey)
               {
                    bClick = false;
                    if (!self.bDisableMultiplySelection)

Back to Top View tigertech's Profile Search for other posts by tigertech
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 21 May 2021 at 12:01am | IP Logged Quote Igor

That makes sense, thank you. Developers have added this change into the repository, so as of next version it'll be included into the product.

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

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