Search and Top Navigation
#1679 closed bug (fixed)
Opened September 19, 2007 02:27PM UTC
Closed October 17, 2007 05:00PM UTC
Last modified February 26, 2009 11:08AM UTC
Sortable - this.parentNode has no properties on core.js
Reported by: | ipalaus | Owned by: | paul |
---|---|---|---|
Priority: | critical | Milestone: | 1.5 |
Component: | ui.core | Version: | 1.2.1 |
Keywords: | core.js parentNode Opera | Cc: | ipalaus@ipalaus.es,daijo@daijo.org |
Blocked by: | Blocking: |
Description
I had troubles while using Opera and ui.sortables.js recently. I had a list using <li> with a simple Sortable() and it worked fine on the two major browsers (Firefox, IE 6/7). Testing against Opera 9.23 it didn't work. Opera 9.5 alpha release "Kestrel" works fine. When I check on Firefox another time using Firebug i found that when you start moving some Sortable element the console is continuously adding errors and never stops with "this.parentNode has no properties" (line 1098 on core.js).
jQuery version: 1.2.1 and current version (svn)
UI version: 1.0 and current version (svn)
Failed failed with both stable and SVN, jQuery and UI
You can check this on http://dev.jquery.com/view/trunk/plugins/ui/demos/ui.sortable.html
Attachments (0)
Change History (9)
Changed September 19, 2007 02:41PM UTC by comment:1
component: | core → ui |
---|
Changed September 19, 2007 04:51PM UTC by comment:2
summary: | this.parentNode has no properties on core.js → Sortable - this.parentNode has no properties on core.js |
---|
Changed September 19, 2007 05:17PM UTC by comment:3
I find something similar happens without the use of additional parameters.
I use Mac Firefox and am also experiencing the above - only able to move a list item once and then JS erros. I see the following infinite error in my Firebug console:
self.pos has no properties [Break on this error] position: { left: self.pos[0], top: self.pos[1] }, ui.sortable.js (line 91)
this.parentNode has no properties [Break on this error] this.parentNode.removeChild( this ); jquery.js (line 1075)
this.parentNode has no properties [Break on this error] null jquery.js (line 1075)
I get similar errors when using this sort method with my own list items and downloaded ui components. I am running the most recent version of jQ and ui components.
Changed September 23, 2007 01:51PM UTC by comment:4
owner: | → john |
---|
Changed October 10, 2007 09:43AM UTC by comment:5
I found a way to fix those errors (see ui.sortable.patch). I'm not sure, whether this fixes the root cause or just the symptom.
Hope this helps
--Swen
Changed October 17, 2007 05:00PM UTC by comment:6
owner: | john → paul |
---|
Changed October 17, 2007 05:00PM UTC by comment:7
resolution: | → fixed |
---|---|
status: | new → closed |
Thanks, fixed!
Changed May 24, 2008 03:39AM UTC by comment:8
milestone: | 1.2.2 |
---|
Milestone 1.2.2 deleted
Changed February 26, 2009 11:08AM UTC by comment:9
milestone: | → 1.5 |
---|