WordPress.org

Make WordPress Core

Changeset 8424


Ignore:
Timestamp:
07/23/2008 10:06:09 PM (10 years ago)
Author:
mdawaffe
Message:

crazyhorse: side sortables doesn't really work in IE7. Disable it for that browser

Location:
branches/crazyhorse
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/crazyhorse/wp-admin/js/postbox.js

    r8371 r8424  
    55            $('.postbox h3').before('<a class="togbox">+</a> ');
    66            $('.postbox h3, .postbox a.togbox').click( function() { $($(this).parent().get(0)).toggleClass('closed'); save_postboxes_state(page); } );
    7        
    8             $('#side-sortables').append( '<div id="make-it-tall" style="margin-bottom: -2000px; padding-bottom: 2001px"></div>' );
     7
     8            if ( $.browser.msie ) {
     9                $('#side-sortables').append( '<div id="make-it-tall"></div>' );
     10            } else {
     11                $('#side-sortables').append( '<div id="make-it-tall" style="margin-bottom: -100px; padding-bottom: 101px"></div>' );
     12            }
    913            $('#wpbody-content').css( 'overflow', 'hidden' );
    1014           
  • branches/crazyhorse/wp-includes/script-loader.php

    r8422 r8424  
    129129        $scripts->add( 'xfn', '/wp-admin/js/xfn.js', false, '3517' );
    130130        $scripts->add( 'upload', '/wp-admin/js/upload.js', array('jquery'), '20070518' );
    131         $scripts->add( 'postbox', '/wp-admin/js/postbox.js', array('jquery-ui-sortable'), '20080701b' );
     131        $scripts->add( 'postbox', '/wp-admin/js/postbox.js', array('jquery-ui-sortable'), '20080723' );
    132132        $scripts->localize( 'postbox', 'postboxL10n', array(
    133133            'requestFile' => admin_url('admin-ajax.php'),
Note: See TracChangeset for help on using the changeset viewer.