• Firebug reports 2 errors

    _

    uiHash: function(inst) {
    ui.nestedSortable.js?ver=1.7.2 (riga 1153)

    jQuery(“#sortable”).sortable is not a function
    ‘nested’: ‘ul’
    edit.php?post_type=page&page=order-post-type-page (riga 181)

    I guess this happens because your plugin is not compatible with the new jquery-ui version (1.8) included in wordpress 3.
    Replacing line 36 of the plugin

    wp_enqueue_script( ‘cust-jquery-ui-sortable’, plugins_url(‘/js/ui.nestedSortable.js’, __FILE__), array(‘jquery’, ‘jquery-ui-core’), ‘1.7.2’, false );

    with

    wp_enqueue_script(‘jquery-ui-sortable’);

    works again and saves the posts order, but it removes the “post_parent” feature from all pages.
    Replacing line 36 of the plugin with

    wp_enqueue_script( ‘cust-jquery-ui-sortable’, plugins_url(‘/js/ui.nestedSortable.js’, __FILE__), array(‘jquery’, ‘jquery-ui-core’, ‘jquery-ui-widget’), ‘1.7.2’, false );

    Firebug reports 1 error

    $.widget.prototype._trigger is undefined
    if ($.widget.prototype._trigger.apply(this, arguments) === false) {
    ui.nestedSortable.js?ver=1.7.2 (riga 1153)

The topic ‘[Plugin: Custom Post Type Order] jquery-ui 1.8 dosnt work’ is closed to new replies.