• Resolved claudchan101

    (@claudchan101)


    Hi,
    There is an issue it auto collapse it self after few seconds. During edit page, I have expanded some of the child items. After few seconds it seems like reload/refresh the tree view. I needed it to be stay open.
    I checked in console network there is an action f4_tree_refresh often trigger.
    Please fix this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author FAKTOR VIER

    (@faktorvier)

    Hi,
    Thanks for your report. We will check this issue and looking for a solution soon.
    Kind regards

    Plugin Author FAKTOR VIER

    (@faktorvier)

    Hi

    That’s an issue we’re working on in the next release that sould be released in the next weeks. In the meantime you can add the following hook to your functions.php (or any other desired file you may prefer), that will reduce the refreshing of the tree:

    add_action('F4/TREE/Core/loaded', function() {
    remove_action('updated_post_meta', 'F4\\TREE\\Tree\\Hooks::updated_edit_lock', 10, 4);
    remove_filter('deleted_post_meta', 'F4\\TREE\\Tree\\Hooks::updated_edit_lock', 10, 4);
    }, 99);

    Thread Starter claudchan101

    (@claudchan101)

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.