[wp-trac] [WordPress Trac] #24667: Widgets admin broken in IE7

WordPress Trac noreply at wordpress.org
Mon Jul 1 21:01:37 UTC 2013


#24667: Widgets admin broken in IE7
--------------------------+------------------------------
 Reporter:  diddledan     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Widgets       |     Version:  3.5.2
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by azaozz):

 Looks like UI bug. Also seeing this in IE7 on most (all?) elements used
 with UI Sortable `<... id="widget-list" sizzle-1372711503799="[object
 Object]">` (converting object to string).

 In any case our code should check if an ID exists before treating it as a
 string. Perhaps this:

 {{{
 var id;

 if ( ( id = sender.attr('id') ) && id.indexOf('orphaned_widgets') != -1 &&
 !sender.children('.widget').length ) {
         sender.parents('.orphan-sidebar').slideUp(400, function(){
 $(this).remove(); });
 }
 }}}

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24667#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list