Plugin Directory

Changeset 677281


Ignore:
Timestamp:
03/07/2013 02:20:22 AM (13 years ago)
Author:
Po.st
Message:

Release version 1.2

Location:
post
Files:
2 added
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • post/tags/1.2/js/post-constructor.js

    r617434 r677281  
    2323
    2424    quickpreview.each(function(){
    25         $(this).sortable({
    26             forcePlaceholderSize: true
    27         });
    28         $(this).disableSelection();
     25
     26        if ($(wizard).hasClass('post-wizard_horizontal')){
     27            $(this).sortable({vertical: false});
     28        } else {
     29            $(this).sortable({vertical: true});
     30        }
    2931    });
    3032
     
    3234
    3335    $('input',orientation).bind('click',function(){
     36        var self = this;
    3437        if(!$(this).next().hasClass('selected')) {
    3538            wizard.removeClassRegEx(/^post-wizard_/);
     
    3740            $('.post-wizard__orientation__item',orientation).removeClass('selected');
    3841            $(this).next().addClass('selected');
     42
     43            quickpreview.each(function(){
     44                if (self.value === 'vertical' ){
     45                    $(this).sortable("vertical",true);
     46                } else {
     47                    $(this).sortable("vertical",false);
     48                }
     49            });
    3950        }
    4051    });
     
    7384        }
    7485
     86
    7587    });
    76 
    77 
    78 
    7988
    8089    $('input',wizardStyle).bind('click',function(){
  • post/tags/1.2/post.php

    r659011 r677281  
    55  Description: Po.st makes your site social by letting your users share posts and pages with others. Po.st supports several social networks, email and languages. Check the README file for configuration options and our support site at <a href="http://support.po.st/">http://support.po.st/</a> for other inquiries.
    66  Author: Po.st
    7   Version: 1.1
     7  Version: 1.2
    88  Author URI: http://www.po.st/
    99 */
     
    4444function post_admin_scripts(){
    4545    wp_enqueue_script('thickbox', null,  array('jquery'));
    46 
    47     wp_enqueue_script('jquery-ui-core');
    48     wp_enqueue_script('jquery-ui-sortable');
    49 
     46    wp_register_script( 'post-sortable-script', plugins_url('/js/jquery-sortable.js', __FILE__) );
     47    wp_enqueue_script('post-sortable-script');
    5048    wp_register_script( 'post-constructor-script', plugins_url('/js/post-constructor.js', __FILE__) );
    5149    wp_enqueue_script('post-constructor-script');
     
    156154        $temp[$serv] = $counter;
    157155    }
    158 
    159     $design_buttons = ksort($temp);
     156    ksort($temp);
     157    $design_buttons = $temp;
    160158
    161159    if (empty($display_pages)){
  • post/tags/1.2/readme.txt

    r658958 r677281  
    44Requires at least: 3.4.1, 3.4.2, 3.0
    55Tested up to: 3.4.1, 3.4.2,3.0
    6 Stable tag: 1.1
     6Stable tag: 1.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4545
    4646== Changelog ==
     47= 1.2 =
     48* Bug fix when re-arranging icons on Windows
    4749
    4850= 1.1 =
  • post/trunk/js/post-constructor.js

    r617434 r677281  
    2323
    2424    quickpreview.each(function(){
    25         $(this).sortable({
    26             forcePlaceholderSize: true
    27         });
    28         $(this).disableSelection();
     25
     26        if ($(wizard).hasClass('post-wizard_horizontal')){
     27            $(this).sortable({vertical: false});
     28        } else {
     29            $(this).sortable({vertical: true});
     30        }
    2931    });
    3032
     
    3234
    3335    $('input',orientation).bind('click',function(){
     36        var self = this;
    3437        if(!$(this).next().hasClass('selected')) {
    3538            wizard.removeClassRegEx(/^post-wizard_/);
     
    3740            $('.post-wizard__orientation__item',orientation).removeClass('selected');
    3841            $(this).next().addClass('selected');
     42
     43            quickpreview.each(function(){
     44                if (self.value === 'vertical' ){
     45                    $(this).sortable("vertical",true);
     46                } else {
     47                    $(this).sortable("vertical",false);
     48                }
     49            });
    3950        }
    4051    });
     
    7384        }
    7485
     86
    7587    });
    76 
    77 
    78 
    7988
    8089    $('input',wizardStyle).bind('click',function(){
  • post/trunk/post.php

    r659011 r677281  
    55  Description: Po.st makes your site social by letting your users share posts and pages with others. Po.st supports several social networks, email and languages. Check the README file for configuration options and our support site at <a href="http://support.po.st/">http://support.po.st/</a> for other inquiries.
    66  Author: Po.st
    7   Version: 1.1
     7  Version: 1.2
    88  Author URI: http://www.po.st/
    99 */
     
    4444function post_admin_scripts(){
    4545    wp_enqueue_script('thickbox', null,  array('jquery'));
    46 
    47     wp_enqueue_script('jquery-ui-core');
    48     wp_enqueue_script('jquery-ui-sortable');
    49 
     46    wp_register_script( 'post-sortable-script', plugins_url('/js/jquery-sortable.js', __FILE__) );
     47    wp_enqueue_script('post-sortable-script');
    5048    wp_register_script( 'post-constructor-script', plugins_url('/js/post-constructor.js', __FILE__) );
    5149    wp_enqueue_script('post-constructor-script');
     
    156154        $temp[$serv] = $counter;
    157155    }
    158 
    159     $design_buttons = ksort($temp);
     156    ksort($temp);
     157    $design_buttons = $temp;
    160158
    161159    if (empty($display_pages)){
  • post/trunk/readme.txt

    r658958 r677281  
    44Requires at least: 3.4.1, 3.4.2, 3.0
    55Tested up to: 3.4.1, 3.4.2,3.0
    6 Stable tag: 1.1
     6Stable tag: 1.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4545
    4646== Changelog ==
     47= 1.2 =
     48* Bug fix when re-arranging icons on Windows
    4749
    4850= 1.1 =
Note: See TracChangeset for help on using the changeset viewer.