- Issue created by @Skrudge
- 🇨🇭Switzerland ytsurk Switzerland
Thank you for reporting this problem, we'll have a look at it soonish.
- Status changed to Postponed: needs info
about 1 year ago 10:44pm 22 December 2023 - 🇨🇭Switzerland ytsurk Switzerland
I cannot reproduce this on the 2.1.x branch.
Sadly we do not support anymore the 2.0.x branch, please try updating to 2.1.x-betaY.
A more descriptive way of your problem would also help in reproducing it.
What means allow? What do you see when you right click the folder after deleting all containing medias?
What version of Drupal and our module are you using? - 🇮🇹Italy Skrudge
even after updating to version 2.1.0-beta3 it is not possible to delete folders without refreshing the page, and losing the position. The Admin Theme I use is: Adminimal 8.x-1.7 (administration theme). When I Right Click, after deleting the last file in the folder, I see this:
after reloading the page, and losing the path, I can successfully delete the empty folder
- 🇨🇭Switzerland ytsurk Switzerland
Thank you for further information, Skrudge.
So I try harder to reproduce ...
- Status changed to Closed: cannot reproduce
about 1 year ago 12:53pm 6 January 2024 - 🇨🇭Switzerland ytsurk Switzerland
Do you somehow alter jsTree's menu_item's?
I'm not aware of a check this module does regarding a directories emptiness, our code we will always add a "Delete" context menu entry,
see here https://git.drupalcode.org/project/media_directories/-/blob/2.1.x/module...Are you using any patches from other issues or use custom code? You would need to intercept the delete command and refresh the context menu accordingly ..
- 🇮🇹Italy Skrudge
name : vakata/jstree
descrip. :
keywords :
versions : * 3.3.15
type : drupal-library