-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Effects: Backporting 8108ec8 - Fixes #7595 - Wrapper-creating jquery-…
…ui animations will discard any focus state during the animation - Thanks @rubyruy
- Loading branch information
Showing
1 changed file
with
20 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82df692
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've noticed a problem with this commit. It's outlined here;
mihaild/jquery-html5-upload#2
but I get the problem in my own plugin (not really gotten around to releasing it publicly yet as it needs a fair bit of supporting documentation and I'm lazy).
Basically, the problem is Firefox veto'ing actions. For me it only happens on the second upload when I initiate a graphical effect.
"Security Manager vetoed action arg 0 [nsIDOMHTMLDivElement.contains]"
Putting the $.contains() test inside a try/catch block avoids the error and thus is a suitable fix. I'll open a new issue about it.
82df692
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please provide a test case on jsFiddle and put it on the ticket? http://bugs.jqueryui.com/ticket/8288
82df692
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought the test case would be a pain to write as I thought it was going to be pretty involved, but I was able to create it pretty easily in the end. I've updated the ticket.