Fix javascript errors about invalid method calls
This commit is contained in:
parent
2eedbbf0f4
commit
e6c0f222d9
1 changed files with 2 additions and 2 deletions
|
@ -2488,8 +2488,8 @@ function rcube_calendar_ui(settings)
|
|||
widget.children().each(function(){
|
||||
li = $(this);
|
||||
html = li.children().first().html().replace(/\s+\(.+\)$/, '').replace(amregex, '0:$1').replace(pmregex, '1:$1');
|
||||
if (html == val)
|
||||
menu.activate($.Event({ type:'keypress' }), li);
|
||||
if (html.indexOf(val) == 0)
|
||||
menu._scrollIntoView(li);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue