mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 04:59:21 +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
|
|
@ -126,6 +126,15 @@ ko.bindingHandlers.onEsc = {
|
|||
}
|
||||
};
|
||||
|
||||
ko.bindingHandlers.clickOnTrue = {
|
||||
'update': function (oElement, fValueAccessor) {
|
||||
if (ko.utils.unwrapObservable(fValueAccessor()))
|
||||
{
|
||||
$(oElement).click();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
ko.bindingHandlers.modal = {
|
||||
'init': function (oElement, fValueAccessor) {
|
||||
$(oElement).toggleClass('fade', !Globals.bMobileDevice) .modal({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue