Changeset 677281
- Timestamp:
- 03/07/2013 02:20:22 AM (13 years ago)
- Location:
- post
- Files:
-
- 2 added
- 6 edited
- 1 copied
-
tags/1.2 (copied) (copied from post/trunk)
-
tags/1.2/js/jquery-sortable.js (added)
-
tags/1.2/js/post-constructor.js (modified) (4 diffs)
-
tags/1.2/post.php (modified) (3 diffs)
-
tags/1.2/readme.txt (modified) (2 diffs)
-
trunk/js/jquery-sortable.js (added)
-
trunk/js/post-constructor.js (modified) (4 diffs)
-
trunk/post.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
post/tags/1.2/js/post-constructor.js
r617434 r677281 23 23 24 24 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 } 29 31 }); 30 32 … … 32 34 33 35 $('input',orientation).bind('click',function(){ 36 var self = this; 34 37 if(!$(this).next().hasClass('selected')) { 35 38 wizard.removeClassRegEx(/^post-wizard_/); … … 37 40 $('.post-wizard__orientation__item',orientation).removeClass('selected'); 38 41 $(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 }); 39 50 } 40 51 }); … … 73 84 } 74 85 86 75 87 }); 76 77 78 79 88 80 89 $('input',wizardStyle).bind('click',function(){ -
post/tags/1.2/post.php
r659011 r677281 5 5 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. 6 6 Author: Po.st 7 Version: 1. 17 Version: 1.2 8 8 Author URI: http://www.po.st/ 9 9 */ … … 44 44 function post_admin_scripts(){ 45 45 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'); 50 48 wp_register_script( 'post-constructor-script', plugins_url('/js/post-constructor.js', __FILE__) ); 51 49 wp_enqueue_script('post-constructor-script'); … … 156 154 $temp[$serv] = $counter; 157 155 } 158 159 $design_buttons = ksort($temp);156 ksort($temp); 157 $design_buttons = $temp; 160 158 161 159 if (empty($display_pages)){ -
post/tags/1.2/readme.txt
r658958 r677281 4 4 Requires at least: 3.4.1, 3.4.2, 3.0 5 5 Tested up to: 3.4.1, 3.4.2,3.0 6 Stable tag: 1. 16 Stable tag: 1.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 45 45 46 46 == Changelog == 47 = 1.2 = 48 * Bug fix when re-arranging icons on Windows 47 49 48 50 = 1.1 = -
post/trunk/js/post-constructor.js
r617434 r677281 23 23 24 24 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 } 29 31 }); 30 32 … … 32 34 33 35 $('input',orientation).bind('click',function(){ 36 var self = this; 34 37 if(!$(this).next().hasClass('selected')) { 35 38 wizard.removeClassRegEx(/^post-wizard_/); … … 37 40 $('.post-wizard__orientation__item',orientation).removeClass('selected'); 38 41 $(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 }); 39 50 } 40 51 }); … … 73 84 } 74 85 86 75 87 }); 76 77 78 79 88 80 89 $('input',wizardStyle).bind('click',function(){ -
post/trunk/post.php
r659011 r677281 5 5 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. 6 6 Author: Po.st 7 Version: 1. 17 Version: 1.2 8 8 Author URI: http://www.po.st/ 9 9 */ … … 44 44 function post_admin_scripts(){ 45 45 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'); 50 48 wp_register_script( 'post-constructor-script', plugins_url('/js/post-constructor.js', __FILE__) ); 51 49 wp_enqueue_script('post-constructor-script'); … … 156 154 $temp[$serv] = $counter; 157 155 } 158 159 $design_buttons = ksort($temp);156 ksort($temp); 157 $design_buttons = $temp; 160 158 161 159 if (empty($display_pages)){ -
post/trunk/readme.txt
r658958 r677281 4 4 Requires at least: 3.4.1, 3.4.2, 3.0 5 5 Tested up to: 3.4.1, 3.4.2,3.0 6 Stable tag: 1. 16 Stable tag: 1.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 45 45 46 46 == Changelog == 47 = 1.2 = 48 * Bug fix when re-arranging icons on Windows 47 49 48 50 = 1.1 =
Note: See TracChangeset
for help on using the changeset viewer.