Side navigation
#5941 closed bug (invalid)
Opened January 26, 2010 03:46PM UTC
Closed June 14, 2010 12:35AM UTC
is() function bug
Reported by: | ultimas | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4.2 |
Component: | unfiled | Version: | 1.4.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I have the following situation:
$('.btn,.btn-bullet',oContexto || document)
.filter('.btn')
.before(function(){
return '<div class="btn-wrapper"'+($(this).is(':visible')?'':' style="display:none"')+'><img src="'+BASE_URL+'public/img/btn_esq.gif" alt="" /></div>';
})
when the is() is executed I get this error:
elem.ownerDocument is null at Line 4529.
I'm on FF and it happens since the version 1.4
Btw, the problem that I related here #5908 persists
Attachments (2)
Change History (4)
Changed January 26, 2010 06:31PM UTC by comment:1
Changed January 26, 2010 08:00PM UTC by comment:2
I'm sorry but I can't reproduce this error anymore, I may have missed something on the first time. At least, I'll add the #5908 testcase.
Changed January 28, 2010 11:32AM UTC by comment:3
Ok, got the 2 errors...
Changed June 14, 2010 12:35AM UTC by comment:4
resolution: | → invalid |
---|---|
status: | new → closed |
$(true) isn't a valid way to construct a jQuery object.
looks like formatting got mangled. Can you repost your html and jQuery code so that I could recreate the error.
Thanks