[wp-trac] Re: [WordPress Trac] #4325: Admin page for sidebar
widgets report problem in Internet Explorer
WordPress Trac
wp-trac at lists.automattic.com
Wed May 23 22:32:19 GMT 2007
#4325: Admin page for sidebar widgets report problem in Internet Explorer
------------------------------------+---------------------------------------
Reporter: Bernard_J_L | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.4
Component: Administration | Version: 2.2
Severity: normal | Resolution:
Keywords: widgets administration |
------------------------------------+---------------------------------------
Comment (by Bernard_J_L):
107 $A(Draggables.drags).map(function(o) {o.startDrag(null);
o.finishDrag(null);});[[BR]]
108 for ( var n in Draggables.drags ) { [[BR]]
109 if ( Draggables.drags[n].element.id == 'lastmodule' ) { [[BR]]
110 Draggables.drags[n].destroy(); [[BR]]
111 break; [[BR]]
112 } [[BR]]
113 } [[BR]]
114 resetPaletteHeight();
Above is the code in question. Line 109 is where things go south. We
don't understand the use of the variable "n". It seems that "n" would
cycle through the elements of "Draggables.drags" and not be an index into
the elements. Perhaps that is what is going wrong.
Hope that helps.
Bernie
--
Ticket URL: <http://trac.wordpress.org/ticket/4325#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list