[wp-trac] Re: [WordPress Trac] #3824: Transition the Admin Area over to using jQuery

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 21 16:11:34 GMT 2007

#3824: Transition the Admin Area over to using jQuery
 Reporter:  jeresig                           |        Owner:  anonymous  
     Type:  task                              |       Status:  new        
 Priority:  normal                            |    Milestone:  2.3 (trunk)
Component:  Administration                    |      Version:  2.1.1      
 Severity:  normal                            |   Resolution:             
 Keywords:  jquery javascript admin hit-list  |  
Comment (by filosofo):

 I've added a patch, jquery_admin_widgets.diff, which converts the admin
 widgets area to jQuery.

 There were a couple of places in the old code where Javascript was doing
 the work of CSS (basically just clearing some floats), so I took that out
 and used CSS instead.

 Also in the old code was some dead code in which someone had apparently
 thought about making the dropzone lists all expand equally, but then
 didn't implement it (a line in resetDroppableHeights() gets the greatest
 number of widgets that any dropzone has, but never uses that info).  I
 went ahead and made the dropzones expand equally vertically, because 1)
 someone seemingly meant to do this before and didn't 2) it looks better 3)
 under the old system if you had a really tall dropzone and a short
 dropzone, you had to go through shenanigans to drag a widget from the
 palette to the short dropzone.

 I've tested it successfully with the following browsers:[[BR]]

 Firefox in Windows and Linux[[BR]]

 IE 6 & IE 7[[BR]]

 Safari 3.0.3 for Windows[[BR]]

 Opera 9.23 for Windows[[BR]]

 Konqueror 3.5.6[[BR]]

Ticket URL: <http://trac.wordpress.org/ticket/3824#comment:25>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list