[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:30:25 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);});
 108 for ( var n in Draggables.drags ) {
 109 if ( Draggables.drags[n].element.id == 'lastmodule' ) {
 110 Draggables.drags[n].destroy();
 111 break;
 112 }
 113 }
 114 resetPaletteHeight();

 ----
 Above is the code in question.  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:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list