这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@jagooding
Copy link
Contributor

I fixed the issue with keyboard input being disabled under certain circumstances. One of the commits in this request is the revert I did on my own end, not sure how to not include it in the request?

Anyways, the important piece is this:

on('mousedown.P' + CALENDAR.id,function(event){
    if ( event.target != ELEMENT ){
        event.preventDefault()
        event.stopPropagation()
       }
} )

It keeps the focus from being stolen from the input element, thus allowing keyboard input to remain.

@amsul
Copy link
Owner

amsul commented Jan 18, 2013

Oh that's actually perfect!

I'll have to manually merge this in..

@amsul amsul merged commit 431d8f6 into amsul:dev Jan 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants