|
@@ 3337-3338 (lines=2) @@
|
| 3334 |
|
<?php |
| 3335 |
|
} |
| 3336 |
|
$table_fields = $this->fields[ 'manage' ]; |
| 3337 |
|
if ( true === $reorder && !in_array( 'reorder', $this->actions_disabled ) && false !== $this->reorder[ 'on' ] ) |
| 3338 |
|
$table_fields = $this->fields[ 'reorder' ]; |
| 3339 |
|
if ( false === $table_fields || empty( $table_fields ) ) |
| 3340 |
|
return $this->error( __( '<strong>Error:</strong> Invalid Configuration - Missing "fields" definition.', 'pods' ) ); |
| 3341 |
|
?> |
|
@@ 3799-3803 (lines=5) @@
|
| 3796 |
|
</tbody> |
| 3797 |
|
</table> |
| 3798 |
|
<?php |
| 3799 |
|
if ( true === $reorder && !in_array( 'reorder', $this->actions_disabled ) && false !== $this->reorder[ 'on' ] ) { |
| 3800 |
|
?> |
| 3801 |
|
</form> |
| 3802 |
|
<?php |
| 3803 |
|
} |
| 3804 |
|
?> |
| 3805 |
|
<script type="text/javascript"> |
| 3806 |
|
jQuery( 'table.widefat tbody tr:even' ).addClass( 'alternate' ); |
|
@@ 3808-3818 (lines=11) @@
|
| 3805 |
|
<script type="text/javascript"> |
| 3806 |
|
jQuery( 'table.widefat tbody tr:even' ).addClass( 'alternate' ); |
| 3807 |
|
<?php |
| 3808 |
|
if ( true === $reorder && !in_array( 'reorder', $this->actions_disabled ) && false !== $this->reorder[ 'on' ] ) { |
| 3809 |
|
?> |
| 3810 |
|
jQuery( document ).ready( function () { |
| 3811 |
|
jQuery( ".reorderable" ).sortable( {axis : "y", handle : ".dragme"} ); |
| 3812 |
|
jQuery( ".reorderable" ).bind( 'sortupdate', function ( event, ui ) { |
| 3813 |
|
jQuery( 'table.widefat tbody tr' ).removeClass( 'alternate' ); |
| 3814 |
|
jQuery( 'table.widefat tbody tr:even' ).addClass( 'alternate' ); |
| 3815 |
|
} ); |
| 3816 |
|
} ); |
| 3817 |
|
<?php |
| 3818 |
|
} |
| 3819 |
|
?> |
| 3820 |
|
</script> |
| 3821 |
|
<?php |