|
@@ 3365-3366 (lines=2) @@
|
| 3362 |
|
<?php |
| 3363 |
|
} |
| 3364 |
|
$table_fields = $this->fields[ 'manage' ]; |
| 3365 |
|
if ( true === $reorder && !in_array( 'reorder', $this->actions_disabled ) && false !== $this->reorder[ 'on' ] ) |
| 3366 |
|
$table_fields = $this->fields[ 'reorder' ]; |
| 3367 |
|
if ( false === $table_fields || empty( $table_fields ) ) |
| 3368 |
|
return $this->error( __( '<strong>Error:</strong> Invalid Configuration - Missing "fields" definition.', 'pods' ) ); |
| 3369 |
|
?> |
|
@@ 3836-3840 (lines=5) @@
|
| 3833 |
|
</tbody> |
| 3834 |
|
</table> |
| 3835 |
|
<?php |
| 3836 |
|
if ( true === $reorder && !in_array( 'reorder', $this->actions_disabled ) && false !== $this->reorder[ 'on' ] ) { |
| 3837 |
|
?> |
| 3838 |
|
</form> |
| 3839 |
|
<?php |
| 3840 |
|
} |
| 3841 |
|
?> |
| 3842 |
|
<script type="text/javascript"> |
| 3843 |
|
jQuery( 'table.widefat tbody tr:even' ).addClass( 'alternate' ); |
|
@@ 3845-3855 (lines=11) @@
|
| 3842 |
|
<script type="text/javascript"> |
| 3843 |
|
jQuery( 'table.widefat tbody tr:even' ).addClass( 'alternate' ); |
| 3844 |
|
<?php |
| 3845 |
|
if ( true === $reorder && !in_array( 'reorder', $this->actions_disabled ) && false !== $this->reorder[ 'on' ] ) { |
| 3846 |
|
?> |
| 3847 |
|
jQuery( document ).ready( function () { |
| 3848 |
|
jQuery( ".reorderable" ).sortable( {axis : "y", handle : ".dragme"} ); |
| 3849 |
|
jQuery( ".reorderable" ).bind( 'sortupdate', function ( event, ui ) { |
| 3850 |
|
jQuery( 'table.widefat tbody tr' ).removeClass( 'alternate' ); |
| 3851 |
|
jQuery( 'table.widefat tbody tr:even' ).addClass( 'alternate' ); |
| 3852 |
|
} ); |
| 3853 |
|
} ); |
| 3854 |
|
<?php |
| 3855 |
|
} |
| 3856 |
|
?> |
| 3857 |
|
</script> |
| 3858 |
|
<?php |