WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/19/2007 05:24:25 PM (13 years ago)
Author:
ryan
Message:

Fix widget admin layout for IE7. Props Denis-de-Bernardy. fixes #4264 for 2.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/widgets.php

    r5471 r5494  
    1616?>
    1717    <link rel="stylesheet" href="widgets.css?version=<?php bloginfo('version'); ?>" type="text/css" />
     18    <!--[if IE 7]>
     19    <style type="text/css">
     20    #palette {float:left;}
     21    </style>
     22    <![endif]-->
    1823    <style type="text/css">
    1924        .dropzone ul { height: <?php echo constant( 'WP_WIDGETS_HEIGHT' ); ?>px; }
     
    6267        widgets.map(function(o) {o='widgetprefix-'+o; Position.absolutize(o); Position.relativize(o);} );
    6368        $A(Draggables.drags).map(function(o) {o.startDrag(null); o.finishDrag(null);});
    64         for ( var n in Draggables.drags ) {
     69        //for ( var n in Draggables.drags ) {
     70        for ( n=0; n<=Draggables.drags.length; n++ ) {
    6571            if ( Draggables.drags[n].element.id == 'lastmodule' ) {
    6672                Draggables.drags[n].destroy();
     
    146152            if ( $(o).childNodes.length == 0 ) {
    147153                pm.style.display = 'block';
    148                 Position.absolutize(o+'placematt');
     154                //Position.absolutize(o+'placematt');
    149155            } else {
    150156                pm.style.display = 'none';
     
    306312                    <h3><?php echo $sidebar['name']; ?></h3>
    307313                   
    308                     <div id="<?php echo $index; ?>placematt" class="module placematt">
     314                    <div id="<?php echo $index; ?>placematt" class="module placemat">
    309315                        <span class="handle">
    310316                            <h4><?php _e( 'Default Sidebar' ); ?></h4>
Note: See TracChangeset for help on using the changeset viewer.