Plugin Directory

Changeset 489359


Ignore:
Timestamp:
01/13/2012 12:21:51 PM (14 years ago)
Author:
julienappert
Message:

WP3.3 compatibility

Location:
rich-text-widget/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • rich-text-widget/trunk/media-upload.js

    r142416 r489359  
    3636}
    3737
    38 // thickbox settings
    39 var tb_position;
    40 (function($) {
    41     tb_position = function() {
    42         var tbWindow = $('#TB_window'), width = $(window).width(), H = $(window).height(), W = ( 720 < width ) ? 720 : width;
    43 
    44         if ( tbWindow.size() ) {
    45             tbWindow.width( W - 50 ).height( H - 45 );
    46             $('#TB_iframeContent').width( W - 50 ).height( H - 75 );
    47             tbWindow.css({'margin-left': '-' + parseInt((( W - 50 ) / 2),10) + 'px'});
    48             if ( typeof document.body.style.maxWidth != 'undefined' )
    49                 tbWindow.css({'top':'20px','margin-top':'0'});
    50         };
    51 
    52         return $('a.thickbox').each( function() {
    53             var href = $(this).attr('href');
    54             if ( ! href ) return;
    55             href = href.replace(/&width=[0-9]+/g, '');
    56             href = href.replace(/&height=[0-9]+/g, '');
    57             $(this).attr( 'href', href + '&width=' + ( W - 80 ) + '&height=' + ( H - 85 ) );
    58         });
    59     };
    60 
    61     $(window).resize(function(){ tb_position(); });
    62 
    63 })(jQuery);
    6438
    6539jQuery(document).ready(function($){
  • rich-text-widget/trunk/readme.txt

    r417948 r489359  
    33Tags: rte,tinymce,widget,rich editor,wysiwyg
    44Requires at least: 3.0
    5 Tested up to: 3.2
     5Tested up to: 3.3.1
    66Stable tag: trunk
    77
     
    2929== Changelog ==
    3030
     31= 1.0.4 =
     32* WP3.3 compatibility
     33
    3134= 1.0.3 =
    3235* improving render
  • rich-text-widget/trunk/rich-text-widget.php

    r417948 r489359  
    44Plugin URI: http://julienappert.com/realisations/plugin-rich-text-widget
    55Description: Create rich text widgets.
    6 Version: 1.0.3
     6Version: 1.0.4
    77Author: Julien Appert
    88Author URI: http://julienappert.com
Note: See TracChangeset for help on using the changeset viewer.