mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Dropdown menu keyboard navigation (step 1 / USTABLE)
This commit is contained in:
parent
cd6974ecd2
commit
2ad305e40e
15 changed files with 305 additions and 228 deletions
|
|
@ -39,6 +39,17 @@ function WebMailDataStorage()
|
|||
this.projectHash = ko.observable('');
|
||||
this.threading = ko.observable(false);
|
||||
|
||||
this.accountMenuFocus = ko.observable(false);
|
||||
this.accountMenuFocus.sKeyState = Enums.KeyState.All;
|
||||
|
||||
this.accountMenuFocus.subscribe(function (bValue) {
|
||||
if (bValue)
|
||||
{
|
||||
this.accountMenuFocus.sKeyState = RL.data().keyScope();
|
||||
}
|
||||
RL.data().keyScope(bValue ? Enums.KeyState.Menu : this.accountMenuFocus.sKeyState);
|
||||
}, this);
|
||||
|
||||
this.lastFoldersHash = '';
|
||||
this.remoteSuggestions = false;
|
||||
|
||||
|
|
@ -279,7 +290,7 @@ function WebMailDataStorage()
|
|||
this.message.focused.subscribe(function (bValue) {
|
||||
RL.data().keyScope(bValue ? Enums.KeyState.MessageView : Enums.KeyState.MessageList);
|
||||
});
|
||||
|
||||
|
||||
this.messageLoading.subscribe(function (bValue) {
|
||||
this.messageLoadingThrottle(bValue);
|
||||
}, this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue