diff options
author | Luiza Pagliari <lpagliari@gmail.com> | 2017-05-11 12:26:14 -0300 |
---|---|---|
committer | Luiza Pagliari <lpagliari@gmail.com> | 2017-05-11 12:26:14 -0300 |
commit | cf686282ef69ba75ca4a9f9226fcbdd5a0698076 (patch) | |
tree | 38451e710e934a13de570a23d61897038b11ce1f /src/node/handler/PadMessageHandler.js | |
parent | 1ebcf0dc470985ddc4357b0ac54e886116dfa3df (diff) | |
download | etherpad-lite-cf686282ef69ba75ca4a9f9226fcbdd5a0698076.zip |
Do not use cookie for pad shortcuts
Users still cannot choose which shortcuts they want to enable/disable,
so it does not make sense (yet) to have a cookie with that preference.
This can be reverted once we create an UI to change shortcuts, but
PLEASE PLEASE PLEASE do not read the cookie every time handleKeyEvent is
called!!!
This is an adjustment to #2891.
Diffstat (limited to 'src/node/handler/PadMessageHandler.js')
-rw-r--r-- | src/node/handler/PadMessageHandler.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node/handler/PadMessageHandler.js b/src/node/handler/PadMessageHandler.js index 20b262f4..b7ec7cb2 100644 --- a/src/node/handler/PadMessageHandler.js +++ b/src/node/handler/PadMessageHandler.js @@ -1197,6 +1197,7 @@ function handleClientReady(client, message) "userColor": authorColorId, "padId": message.padId, "padOptions": settings.padOptions, + "padShortcutEnabled": settings.padShortcutEnabled, "initialTitle": "Pad: " + message.padId, "opts": {}, // tell the client the number of the latest chat-message, which will be |